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