Table of Contents

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 ImagePosition
imageSize PixelSize
targetRect PixelRect

Returns

PixelRect