WindowSelection

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

Constructors

WindowSelection

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

Properties

Box

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

IsCrossing

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

IsEmpty

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

IsZero

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

Point0

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

Point1

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

Methods

Adapt

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

Selects

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

Selects

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

Selects

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

Selects

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

Selects

#
public bool Selects(
wire,
fuzz
)