RectangleShape

[IoId("00000000-751d-4c4f-a2e8-d5a42a82316e")] public sealed class RectangleShape : IShape

Constructors

RectangleShape

#
public RectangleShape(IReader reader)
reader (IReader)

RectangleShape

#
public RectangleShape(PointF a, PointF b)
a (PointF)
b (PointF)

Properties

A

#
public PointF A { get; }

B

#
public PointF B { get; }

Grips

#
public Grip[] Grips { get; }
Grips

Nomen

#
public Nomen Nomen { get; }
Nomen

Rectangle

#
public RectangleF Rectangle { get; }

Methods

Bounds

#
public RectangleF Bounds(Style style)
style (Style)
Bounds

Coincident

#
public bool Coincident(PointF location, Style style)
location (PointF)
style (Style)
Coincident

DragGrips

#
public IShape DragGrips(Grip[] grips)
grips (Grip[])
DragGrips

DrawShape

#
public void DrawShape(Graphics graphics, Color background, Style style)
graphics (Graphics)
background (Color)
style (Style)
DrawShape

Store

#
public void Store(IWriter writer)
writer (IWriter)
Store

Translate

#
public IShape Translate(float dx, float dy)
dx (float)
dy (float)
Translate