FitMode Enum
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 thePathelement. - Extents
-
Explicit extents set by the
Extentsproperty. Those extents are considered the canvas size for allDatapoints. Use this when layering multiple paths on the same canvas to preserve their relative positions and sizes.
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.
FitMode - FitMode : FitMode uno
FitMode != FitMode : bool uno
FitMode & FitMode : FitMode uno
FitMode ^ FitMode : FitMode uno
FitMode == FitMode : bool uno
FitMode | FitMode : FitMode uno
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.
HasFlag(FitMode) : bool uno
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.