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
声明
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 | |
|---|---|---|
| .gif) | GeometryBackgroundBrushId | Gets the brush resource id that will be used to fill the background of the geometry. | 
| .gif) | GeometryBoundingBox | Gets the bounding box of the geometry. | 
| .gif) | GeometryHasFilledBackground | Gets a value indicating whether the background of the geometry will be filled. | 
| .gif) | GeometryHasOutline | Gets a value indicating whether the outline of the geometry will be drawn. | 
| .gif) | GeometryHasShadow | Gets a value indicating whether the geometry displays a shadow. | 
| .gif) | GeometryOutlinePenId | Gets the pen resource id that will be used to draw the outline of the geometry. | 
| .gif) | GeometryStyleSet | Gets the style set to use for the geometry. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | ExcludeGeometryFromClipRegion | Excludes from the clipping region this geometry, including geometries of descendant IGeometryHost objects. | 
| .gif) | TranslateGeometryToAbsoluteBounds | Translates a rectangle from coordinates relative to the top-left of the IGeometryHost's parent to absolute world coordinates. | 
| .gif) | TranslateGeometryToRelativeBounds | Translates a rectangle from absolute world coordinates to coordinates relative to the top-left of the IGeometryHost's parent. | 
| .gif) | UpdateGeometryLuminosity(DiagramClientView, Brush) | Modifies the luminosity of the specified brush. | 
| .gif) | UpdateGeometryLuminosity(DiagramClientView, Pen) | Modifies the luminosity of the specified pen. | 
Top