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