1using System.Threading.Tasks;
22 : base(Document, Parent)
32 set => this.x2 = value;
41 set => this.y2 = value;
50 set => this.ref2 = 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.xCoordinate2 = P.
X;
108 this.yCoordinate2 = P.
Y;
118 if ((Temp = this.
Width).HasValue && (!Value.HasValue || Temp.Value > Value.Value))
124 float X = this.xCoordinate + Value.Value;
128 this.xCoordinate2 = X;
136 if ((Temp = this.
Height).HasValue && (!Value.HasValue || Temp.Value > Value.Value))
142 float Y = this.yCoordinate + Value.Value;
146 this.yCoordinate2 = Y;
170 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,...
void ReportMeasureRelative(ILayoutElement Element)
Reports an element as having relative measurements.
void IncludePoint(float X, float Y, float RX, float RY, float Angle)
Includes a point in the area measurement.
float? Height
Height of element
Layout2DDocument Document
Layout document.
float? Width
Width of element
virtual ? float PotentialHeight
Potential Height of element
virtual ? float PotentialWidth
Potential Width of element
float? ExplicitHeight
Explicit set height of element, if defined.
float? ExplicitWidth
Explicit set width of element, if defined.
Base interface for all layout elements.
Layout2DDocument Document
Layout document.
Represents a calculated point.
bool Ok
If point is successfully evaluated