共用方式為


IGeometryHost Interface

Definition

Defines the interface of the geometry's container.

public interface class IGeometryHost
public interface IGeometryHost
type IGeometryHost = interface
Public Interface IGeometryHost
Derived

Properties

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.

Methods

ExcludeGeometryFromClipRegion(Graphics, Matrix, GraphicsPath)

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

TranslateGeometryToAbsoluteBounds(RectangleD)

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

TranslateGeometryToRelativeBounds(RectangleD)

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.

Applies to