~ FitMode Operator
Location
- Namespace
- Fuse.Controls
- Package
- Fuse.Controls.Primitives 2.9.1
Parameters
- operand
Returns
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 thePath
element. - Extents
-
Explicit extents set by the
Extents
property. Those extents are considered the canvas size for allData
points. Use this when layering multiple paths on the same canvas to preserve their relative positions and sizes.