Class ImageScaleModeExtensions
- Namespace
- ScottPlot
- Assembly
- ScottPlot.dll
public static class ImageScaleModeExtensions
- Inheritance
-
ImageScaleModeExtensions
- Inherited Members
Methods
GetRect(ImagePosition, PixelSize, PixelRect)
Return the image rectangle to display inside a target rectangle
public static PixelRect GetRect(this ImagePosition position, PixelSize imageSize, PixelRect targetRect)
Parameters
position
ImagePositionimageSize
PixelSizetargetRect
PixelRect