How are the bounds of the image calculated from the Data, and how is the image fit into those bounds.

Location

Namespace
Fuse.Controls
Package
Fuse.Controls.Primitives 2.9.1

Returns

FitMode

Possible Values

GeometryMaximum

The bounds are taken as 0,0 for the top-left to the maximum bounds of Data. Use this is you have positioned your drawing relative to the top-left origin and would like to keep that space.

ShrinkToGeometry

The bounds of the drawing are the minimum size required to fully contain the shape specified in Data. Thus only relative values in the Data matter. Use this when stretching your image to fill the Path element.

Extents

Explicit extents set by the Extents property. Those extents are considered the canvas size for all Data points. Use this when layering multiple paths on the same canvas to preserve their relative positions and sizes.