Partilhar via


EllipseShapeGeometry Class

Definition

Summary description for EllipseShapeGeometry.

public ref class EllipseShapeGeometry : Microsoft::VisualStudio::Modeling::Diagrams::NodeShapeGeometry
public class EllipseShapeGeometry : Microsoft.VisualStudio.Modeling.Diagrams.NodeShapeGeometry
type EllipseShapeGeometry = class
    inherit NodeShapeGeometry
Public Class EllipseShapeGeometry
Inherits NodeShapeGeometry
Inheritance
EllipseShapeGeometry
Derived

Constructors

EllipseShapeGeometry()

Initializes a new instance of the EllipseShapeGeometry class.

Properties

ShadowOffset

Gets the shadow offset in world units.

(Inherited from ShapeGeometry)
UninitializedPath

get/set the graphics path This is a singleton on the geometry class. Do not dispose. Use immediately. Use GetPathCopy if another path is needed!

(Inherited from ShapeGeometry)

Methods

Contains(IGeometryHost, PointD, DiagramHitTestInfo)

Gets a value indicating whether the point is within the geometry outline. The geometry outline is defined by the graphics path used to draw the geometry.

(Inherited from NodeShapeGeometry)
Dispose() (Inherited from ShapeGeometry)
Dispose(Boolean) (Inherited from ShapeGeometry)
DoFoldToShape(IGeometryHost, PointD, PointD)

Calculates the point along the vector which crosses the outline of the geometry.

DoHitTest(IGeometryHost, PointD, DiagramHitTestInfo, Boolean)

Returns a value indicating whether the given point is within the boundary of the geometry. The hit test results are also returned.

DoHitTest(IGeometryHost, PointD, DiagramHitTestInfo)

Returns a value indicating whether the given point is within the boundary of the geometry. The hit test results are also returned.

(Inherited from ShapeGeometry)
DoHitTestSelection(IGeometryHost, PointD, DiagramHitTestInfo)

Returns a value indicating whether the given point is within the boundary of the geometry's surrounding selection feedback. The hit test results are also returned.

(Inherited from NodeShapeGeometry)
DoPaint(DiagramPaintEventArgs, IGeometryHost)

Draws the geometry and its shadow if it has one.

(Inherited from ShapeGeometry)
DoPaintEmphasis(DiagramPaintEventArgs, IGeometryHost)

Draws visual emphasis on the shape. This does not indicate selection, it only draws the user's attention to this shape when another shape is selected. (See ShapeElement.RelatedShapeToEmphasize.)

(Inherited from NodeShapeGeometry)
DoPaintGeometry(DiagramPaintEventArgs, IGeometryHost)

Draws the basic geometry.

(Inherited from NodeShapeGeometry)
DoPaintResizeFeedback(DiagramPaintEventArgs, IGeometryHost, RectangleD)

Draws the resize feedback for the geometry.

(Inherited from NodeShapeGeometry)
DoPaintSelection(DiagramPaintEventArgs, IGeometryHost, Boolean, Boolean, Boolean)

Draws a selection typically surrounding the geometry.

(Inherited from NodeShapeGeometry)
DoPaintShadow(DiagramPaintEventArgs, IGeometryHost)

Draws the geometry's shadow.

(Inherited from ShapeGeometry)
GetBackgroundBrushId(IGeometryHost)

Returns the background brush id to use for drawing the geometry's background.

(Inherited from ShapeGeometry)
GetExtraPenWidth(IGeometryHost)

Gets the portion of the pen width which draws outside the borders of the geometry; i.e., outside the graphics path used to draw the geometry.

(Inherited from ShapeGeometry)
GetFocusIndicatorInsideMargin(IGeometryHost)

Gets the distance in world units from the bounding box of the shape to the focus indicator drawn within the shape's bounding box.

(Inherited from NodeShapeGeometry)
GetOutlinePenId(IGeometryHost)

Returns the outline pen id to use for drawing the geometry's outline.

(Inherited from ShapeGeometry)
GetPath(IGeometryHost)

Gets the GraphicsPath of the geometry in world units relative to the top-left of the IGeometryHost's parent. This is a singleton on the geometry class. Do not dispose. Use immediately. Use GetPathCopy if another path is needed!

(Inherited from ShapeGeometry)
GetPath(RectangleD)

Gets the GraphicsPath of the geometry. This is a singleton on the geometry class. Do not dispose. Use immediately. Use GetPathCopy if another path is needed!

GetPathCopy(IGeometryHost)

Gets an unique copy of the path. Caller is resposible for disposal.

(Inherited from ShapeGeometry)
GetPerimeter(IGeometryHost)

Gets the graphics path which encompasses the geometry outline, including the thickness of the outline pen that lies outside of the graphics path used to draw the geometry. This is a singleton on the geometry class. Do not dispose. Use immediately. Use GetPathCopy if another path is needed!

(Inherited from ShapeGeometry)
GetPerimeterBoundingBox(IGeometryHost)

Gets the rectangular bounds which encompasses the geometry outline, including the thickness of the outline pen that lies outside of the graphics path used to draw the geometry.

(Inherited from ShapeGeometry)
GetSelectionLineOffset(DiagramClientView)

Returns the distance in world units between the visible selection line and the outside of the shape.

(Inherited from ShapeGeometry)
GetSelectionLineWidth(DiagramClientView)

Returns the width of the visible selection line in world units.

(Inherited from ShapeGeometry)
HasFilledBackground(IGeometryHost)

Returns a value indicating whether the background of the geometry will be filled.

(Inherited from ShapeGeometry)
HasOutline(IGeometryHost)

Returns a value indicating whether the outline of the geometry will be drawn.

(Inherited from ShapeGeometry)
HasShadow(IGeometryHost)

Returns a value indicating whether the geometry has a shadow.

(Inherited from ShapeGeometry)

Applies to