IGeometryHost Interface

 

Defines the interface of the geometry's container.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

public interface class IGeometryHost

NameDescription
System_CAPS_pubpropertyGeometryBackgroundBrushId

Gets the brush resource id that will be used to fill the background of the geometry.

System_CAPS_pubpropertyGeometryBoundingBox

Gets the bounding box of the geometry.

System_CAPS_pubpropertyGeometryHasFilledBackground

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

System_CAPS_pubpropertyGeometryHasOutline

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

System_CAPS_pubpropertyGeometryHasShadow

Gets a value indicating whether the geometry displays a shadow.

System_CAPS_pubpropertyGeometryOutlinePenId

Gets the pen resource id that will be used to draw the outline of the geometry.

System_CAPS_pubpropertyGeometryStyleSet

Gets the style set to use for the geometry.

NameDescription
System_CAPS_pubmethodExcludeGeometryFromClipRegion(Graphics^, Matrix^, GraphicsPath^)

Excludes from the clipping region this geometry, including geometries of descendant IGeometryHost objects.

System_CAPS_pubmethodTranslateGeometryToAbsoluteBounds(RectangleD)

Translates a rectangle from coordinates relative to the top-left of the IGeometryHost's parent to absolute world coordinates.

System_CAPS_pubmethodTranslateGeometryToRelativeBounds(RectangleD)

Translates a rectangle from absolute world coordinates to coordinates relative to the top-left of the IGeometryHost's parent.

System_CAPS_pubmethodUpdateGeometryLuminosity(DiagramClientView^, Brush^)

Modifies the luminosity of the specified brush.

System_CAPS_pubmethodUpdateGeometryLuminosity(DiagramClientView^, Pen^)

Modifies the luminosity of the specified pen.

Return to top
Show: