ShapeGeometry Members

Include Protected Members
Include Inherited Members

Represents the geometry for a shape.

The ShapeGeometry type exposes the following members.

Constructors

  Name Description
Protected method ShapeGeometry Initializes a new instance of the ShapeGeometry class.

Top

Methods

  Name Description
Protected methodStatic member CreateDiagramItem Creates a shape geometry host.
Public method Dispose Overloaded.
Public method DoFoldToShape Calculates the point along the vector which crosses over the outline of the shape geometry.
Public method DoHitTest Overloaded. Checks to see whether a hit test should be performed on a shape geometry.
Public method DoHitTestSelection Checks to see whether a hit test should be performed on a shape geometry.
Public method DoPaint Draws the shape geometry and, if available, the shadow for the shape geometry.
Public method DoPaintEmphasis Draws emphasis on the shape.
Protected method DoPaintGeometry Draws the geometry shape.
Public method DoPaintResizeFeedback Draws the resize feedback for the shape geometry.
Public method DoPaintSelection Draws the selection around the shape geometry.
Protected method DoPaintShadow Draws the shadow for the shape geometry.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetBackgroundBrushId Gets the ID that is assigned to the brush that paints the background of the shape geometry.
Public method GetExtraPenWidth Gets the width of the pen that is drawn outside of the border of the geometry shape.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected methodStatic member GetHitTestTolerance Gets the tolerance around the shape geometry to use when a hit test is performed.
Public method GetOutlinePenId Gets the ID that is assigned to the brush that paints the outline of the shape geometry.
Public method GetPath Overloaded. Gets the path around the shape geometry.
Public method GetPathCopy Gets a copy of the path around the shape geometry.
Public method GetPerimeter Gets the perimeter around the shape geometry.
Protected method GetPerimeterBoundingBox Gets the bounding box around the perimeter of the shape geometry.
Public methodStatic member GetSelectionBorderThickness Overloaded. Gets the width of the border for a selection in the specified view.
Public method GetSelectionLineOffset Gets the distance between the selection and the outside of the shape geometry.
Public method GetSelectionLineWidth Gets the width of the selection.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method HasFilledBackground Checks to see whether the shape geometry has a background fill.
Protected method HasOutline Checks to see whether the shape geometry has a border.
Protected method HasShadow Checks to see if the shape geometry has a shadow.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodStatic member Rotate Rotate the shape geometry.
Public methodStatic member SnapToCircle Snaps a potential point from the bounding box around the shape geometry to the perimeter of the circle.
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)
Public methodStatic member Translate Moves an array of points.

Top

Properties

  Name Description
Public propertyStatic member MaximumShadowOffset Gets the maximum offset allowed between the shape geometry and the shadow.
Public property ShadowOffset Gets the offset between the shape geometry and the shadow.
Protected property UninitializedPath Gets the path around the shape geometry.

Top

See Also

Reference

ShapeGeometry Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace