Enum ImagePosition
- Namespace
- ScottPlot
- Assembly
- ScottPlot.dll
Describes how to size and position an image inside a given rectangle
public enum ImagePosition
- Extension Methods
Fields
Center = 1
Image placed at the center of the rectangle with no scaling.
Fill = 3
Scale the image as large as possible such that it will fit entirely within the rectangle. This may result in whitespace on the edges if the image and rectangle have different aspect ratios.
Stretch = 2
Fill image in X and Y to completely fill the area. The aspect ratio may change, appearing to distort the image.
TopLeft = 0
Image placed at the upper-left of the rectangle with no scaling.
Zoom = 4