1using System.Threading.Tasks;
22 : base(Document, Parent)
32 set => this.x = value;
41 set => this.y = value;
50 set => this.@ref = value;
57 public override Task
FromXml(XmlElement Input)
63 return base.FromXml(Input);
72 base.ExportAttributes(Output);
85 base.CopyContents(Destination);
102 await base.DoMeasureDimensions(State);
107 this.xCoordinate = P.
X;
108 this.yCoordinate = P.
Y;
111 this.xCoordinate = this.yCoordinate = 0;
130 base.ExportStateAttributes(Output);
Contains a 2D layout document.
void Export(XmlWriter Output)
Exports the attribute.
void ExportState(XmlWriter Output)
Exports the state of the attribute.
LengthAttribute CopyIfNotPreset(Layout2DDocument ForDocument)
Copies the attribute object if undefined, or defined by an expression. Returns a reference to itself,...
StringAttribute CopyIfNotPreset(Layout2DDocument ForDocument)
Copies the attribute object if undefined, or defined by an expression. Returns a reference to itself,...
Layout2DDocument Document
Layout document.
async Task< CalculatedPoint > CalcPoint(DrawingState State, LengthAttribute XAttribute, LengthAttribute YAttribute, StringAttribute RefAttribute, float X, float Y)
Includes a point in the area measurement.
Base interface for all layout elements.
Layout2DDocument Document
Layout document.
Represents a calculated point.
bool Ok
If point is successfully evaluated