// // Copyright (c) James Jackson-South and contributors. // Licensed under the Apache License, Version 2.0. // namespace ImageProcessorCore.Samplers { /// /// Enumerated anchor positions to apply to resized images. /// public enum AnchorPosition { /// /// Anchors the position of the image to the center of it's bounding container. /// Center, /// /// Anchors the position of the image to the top of it's bounding container. /// Top, /// /// Anchors the position of the image to the bottom of it's bounding container. /// Bottom, /// /// Anchors the position of the image to the left of it's bounding container. /// Left, /// /// Anchors the position of the image to the right of it's bounding container. /// Right, /// /// Anchors the position of the image to the top left side of it's bounding container. /// TopLeft, /// /// Anchors the position of the image to the top right side of it's bounding container. /// TopRight, /// /// Anchors the position of the image to the bottom right side of it's bounding container. /// BottomRight, /// /// Anchors the position of the image to the bottom left side of it's bounding container. /// BottomLeft } }