Interface IComplexPositionModel
Represents an object with a complex position within a given coordinate system. The position is determined by a rectangle's bounds and its two anchor points, the PositionAnchor which sets the rectangle's position within the system and the ContentAnchor which sets a point within the rectangle.
Inherited Members
Namespace: EyeAuras.Shared.Model
Assembly: EyeAuras.Shared.dll
Syntax
public interface IComplexPositionModel : IAuraObject<ComplexPositionProperties>, IAuraObject, IBindableReactiveObject, IHasId, IHasTypedId<string>, ICanSetContext, IHasContext, IHasErrors, IDisposable, IHasError, IHasErrorProvider, IHasAttachedWindow, INotifyPropertyChanged
Properties
Name | Description |
---|---|
Bounds | The boundaries of the rectangle in the coordinate system. |
BoundsOffset | The offset of the boundaries of the rectangle. |
ContentAnchor | Anchor point that specifies a position within the rectangle. |
IsLinkedToSource | Indicates whether the position model is linked to the source. |
LinkedAuras | List of Auras linked to this position model. |
PositionAnchor | Anchor point that determines the position of the rectangle within the overall coordinate system. |
SourceBounds | The source rectangle boundaries. |
TwoWay | Indicates whether the position should modify offset whenever output position changes |
Methods
Name | Description |
---|---|
Reset() | Resets the position model to its initial state. |
ResetAnchor() | Resets the anchor to its initial state. |
ResetOffset() | Resets the offset to its initial state. |
ResetOffsetLocation() | Resets the offset location to its initial state. |
ResetOffsetSize() | Resets the offset size to its initial state. |
ResetSource() | Resets the source to its initial state. |