Class MagnetGuideline
- Namespace
- Nalu
- Assembly
- Nalu.Maui.Layouts.dll
A virtual line positioned relative to the stage.
public sealed class MagnetGuideline : MagnetNode, INotifyPropertyChanged
- Inheritance
-
MagnetGuideline
- Implements
- Inherited Members
Remarks
A vertical guideline is positioned along X (x = stageWidth × Percent + Position) and can be used as a horizontal anchor target;
a horizontal guideline is positioned along Y. Position is added to the Percent-based position.
Properties
Orientation
Gets or sets the orientation of the line.
public MagnetOrientation Orientation { get; set; }
Property Value
Percent
Gets or sets the fractional position (0..1) relative to the stage size. Animatable.
public double Percent { get; set; }
Property Value
Position
Gets or sets the absolute offset (added to the Percent-based position). Animatable.
public double Position { get; set; }