documentationfor yFiles for HTML 3.0.0.3

Usages of IShapeGeometry

Properties

shapeGeometryin NodeDecoratorGets a LookupDecorator<TDecoratedType,TInterface> that decorates the IShapeGeometry type for the INodes this instance has been created for.

Fields

VOID_SHAPE_GEOMETRYin IShapeGeometryA void implementation of the IShapeGeometry interface that does nothing and behaves like an empty geometry.

Method Return Values

getNodeGeometry (INode)in EdgePathCropperReturns the geometry that is used to crop the edge at the node outline.
getPortGeometry (IPort)in EdgePathCropperReturns the geometry that is used to crop the edge at the port outline if cropAtPort is set to true.
getShapeGeometry (INode, INodeStyle)in INodeStyleRendererGets an implementation of the IShapeGeometry interface that can handle the provided node and its associated style.
create ()in IShapeGeometry

Method Parameters

getIntersection (INode, IShapeGeometry, IEdge, Point, Point)in EdgePathCropperFinds the intersection between a node and the edge.
isInside (Point, INode, IShapeGeometry, IEdge)in EdgePathCropperChecks whether a given point is inside a node's shape geometry with respect to the edge that is being calculated.