/// <summary> /// Draws layout entities. /// </summary> /// <param name="State">Current drawing state.</param> /// <param name="PathState">Current path state.</param> /// <param name="Path">Path being generated.</param> public override void Draw(DrawingState State, PathState PathState, SKPath Path) { if (this.defined) { this.splineCurve = PathState.AddSplineVertex(this.xCoordinate, this.yCoordinate); } }
/// <summary> /// Measures layout entities and defines unassigned properties. /// </summary> /// <param name="State">Current drawing state.</param> /// <param name="PathState">Current path state.</param> public override void Measure(DrawingState State, PathState PathState) { if (this.defined) { PathState.AddSplineVertex(this.xCoordinate, this.yCoordinate); } }