This page contains documentation for advanced Fuse features, so we have taken the liberty to tick the "Show advanced things" checkbox above for you in advance to be able to provide you with some additional information.

Determines how the bounds of a path are calculated for fitting into an element.

Location

Namespace
Fuse.Controls
Package
Fuse.Controls.Primitives 2.9.1

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.

Show Uno properties and methods

Interface of FitMode

Extents : FitMode uno

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.

GeometryMaximum : FitMode uno

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 : FitMode uno

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.

Inherited from object