Share via


NodeShapeGeometry.Contains Method

Gets a value indicating whether the point is within the geometry outline. The geometry outline is defined by the graphics path used to draw the geometry.

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

Syntax

'Declaration
Protected Overridable Function Contains ( _
    geometryHost As IGeometryHost, _
    point As PointD, _
    hitTestInfo As DiagramHitTestInfo _
) As Boolean
protected virtual bool Contains(
    IGeometryHost geometryHost,
    PointD point,
    DiagramHitTestInfo hitTestInfo
)
protected:
virtual bool Contains(
    IGeometryHost^ geometryHost, 
    PointD point, 
    DiagramHitTestInfo^ hitTestInfo
)
abstract Contains : 
        geometryHost:IGeometryHost * 
        point:PointD * 
        hitTestInfo:DiagramHitTestInfo -> bool  
override Contains : 
        geometryHost:IGeometryHost * 
        point:PointD * 
        hitTestInfo:DiagramHitTestInfo -> bool
protected function Contains(
    geometryHost : IGeometryHost, 
    point : PointD, 
    hitTestInfo : DiagramHitTestInfo
) : boolean

Parameters

Return Value

Type: Boolean

.NET Framework Security

See Also

Reference

NodeShapeGeometry Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace