WindowSelection

References
public class WindowSelection
Stores all relevant information regarding UI window selection boxes.

Constructors

WindowSelection

#
public WindowSelection(PointF startPoint)
Construct a new window selection.
startPoint (PointF)Start point.

Properties

Box

#
public RectangleF Box { get; }
Gets the window selection box.

IsCrossing

#
public bool IsCrossing { get; }
Gets whether this window selection is crossing (ie. right-to-left).

IsEmpty

#
public bool IsEmpty { get; }
Gets whether this window selection has zero area.

IsZero

#
public bool IsZero { get; }
Gets whether this window selection has zero circumference.

Point0

#
public PointF Point0 { get; }
Gets the window selection start point.

Point1

#
public PointF Point1 { get; }
Gets the window selection end point.

Methods

Adapt

#
public WindowSelection Adapt(PointF newEndPoint)
Adapt this window selection to terminate at a new end point.
newEndPoint (PointF)New end point.
Modified window selection.

Selects

#
public bool Selects(BezierF curve, float fuzz)
Gets whether this window selection would select the given bezier.
curve (BezierF)
fuzz (float)

Selects

#
public bool Selects(CircleF circle, float fuzz)
Gets whether this window selection would select the given circle.
circle (CircleF)
fuzz (float)

Selects

#
public bool Selects(LineF line, float fuzz)
Gets whether this window selection would select the given circle.
line (LineF)
fuzz (float)

Selects

#
public bool Selects(RectangleF rectangle, float fuzz)
Gets whether this window selection would select the given box.
rectangle (RectangleF)
fuzz (float)

Selects

#
public bool Selects(WireShape wire, float fuzz)
wire (WireShape)
fuzz (float)