Example #1
0
 public override void DrawShape(object?dc, IShapeRenderer?renderer, ISelection?selection)
 {
     if (State.HasFlag(ShapeStateFlags.Visible))
     {
         renderer?.DrawEllipse(dc, this, Style);
     }
 }
Example #2
0
 /// <inheritdoc/>
 public override void DrawShape(object dc, IShapeRenderer renderer)
 {
     if (State.Flags.HasFlag(ShapeStateFlags.Visible))
     {
         renderer.DrawEllipse(dc, this);
     }
 }