Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines the interface of the geometry's container.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Interface IGeometryHost
public interface IGeometryHost
public interface class IGeometryHost
type IGeometryHost = interface end
public interface IGeometryHost
The IGeometryHost type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
GeometryBackgroundBrushId | Gets the brush resource id that will be used to fill the background of the geometry. |
![]() |
GeometryBoundingBox | Gets the bounding box of the geometry. |
![]() |
GeometryHasFilledBackground | Gets a value indicating whether the background of the geometry will be filled. |
![]() |
GeometryHasOutline | Gets a value indicating whether the outline of the geometry will be drawn. |
![]() |
GeometryHasShadow | Gets a value indicating whether the geometry displays a shadow. |
![]() |
GeometryOutlinePenId | Gets the pen resource id that will be used to draw the outline of the geometry. |
![]() |
GeometryStyleSet | Gets the style set to use for the geometry. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
ExcludeGeometryFromClipRegion | Excludes from the clipping region this geometry, including geometries of descendant IGeometryHost objects. |
![]() |
TranslateGeometryToAbsoluteBounds | Translates a rectangle from coordinates relative to the top-left of the IGeometryHost's parent to absolute world coordinates. |
![]() |
TranslateGeometryToRelativeBounds | Translates a rectangle from absolute world coordinates to coordinates relative to the top-left of the IGeometryHost's parent. |
![]() |
UpdateGeometryLuminosity(DiagramClientView, Brush) | Modifies the luminosity of the specified brush. |
![]() |
UpdateGeometryLuminosity(DiagramClientView, Pen) | Modifies the luminosity of the specified pen. |
Top