1using System.Threading.Tasks;
21 : base(Document, Parent)
36 set => this.degrees = value;
43 public override Task
FromXml(XmlElement Input)
46 return base.FromXml(Input);
55 base.ExportAttributes(Output);
57 this.degrees?.
Export(Output);
68 return new Rotate(Document, Parent);
77 base.CopyContents(Destination);
79 if (Destination is
Rotate Dest)
89 await base.AfterMeasureDimensions(State);
91 this.angle = await this.degrees.Evaluate(State.
Session, 0);
105 SKMatrix M = State.
Canvas.TotalMatrix;
108 await base.Draw(State);
110 State.
Canvas.SetMatrix(M);
119 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.
Floating point (Single) attribute
FloatAttribute CopyIfNotPreset(Layout2DDocument ForDocument)
Copies the attribute object if undefined, or defined by an expression. Returns a reference to itself,...
SKCanvas Canvas
Current drawing canvas.
Variables Session
Current session.
Layout2DDocument Document
Layout document.
void TransformBoundingBox(SKMatrix M)
Transforms the measured bounding box.
Base interface for all layout elements.
Layout2DDocument Document
Layout document.