NShape Reference
EllipseBase Class

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape.Advanced >

NShape Reference
EllipseBase Class

Previous pageReturn to chapter overviewNext page

Base class for ellipse shapes.

Syntax

public abstract class EllipseBase : RectangleBase

EllipseBase can but need not be used as a base class for ellipse shapes. It provides support for the following areas:

Hit- and intersection testing
(Re-)Calculating, transforming and resizing

Public Methods

Name

Description

CalculateConnectionFoot

Implementation of calculating the foot of a point-to-shape connection.

HasControlPointCapability

Tests, whether a control point has at least one of a set of given capabilities.

Protected Properties and Fields

Name

Description

ControlPointCount

The number of control points.

Protected Methods

Name

Description

CalcCaptionBounds

Calculates the untransformed area in which the caption's text is layouted.

CalcControlPoints

Calculates the (translated) position of the shape's control points.

CalculateBoundingRectangle

Calculates the axis aligned bounding rectangle of the shape.

Constructors

Constructs a new shape instance.

ContainsPointCore

Implementation of Shape.ContainsPoint.

IntersectsWithCore

Implementation of Shape.IntersectsWith.

Requirements

Namespace: Dataweb.NShape.Advanced

Assembly: Dataweb.NShape