public override void DrawShape(object dc, IShapeRenderer renderer, ISelection selection) { if (State.HasFlag(ShapeStateFlags.Visible)) { renderer.DrawPath(dc, this, Style); } }