Package | Description |
---|---|
com.yworks.yfiles.graph.styles |
Contains interfaces and default implementations for graph element styles.
|
Modifier and Type | Class and Description |
---|---|
class |
Arrow
|
Modifier and Type | Field and Description |
---|---|
static IArrow |
IArrow.CIRCLE
A singleton
IArrow instance that paints a simple circle-shaped black arrow. |
static IArrow |
IArrow.CROSS
A singleton
IArrow instance that paints a simple cross-shaped black arrow. |
static IArrow |
IArrow.DEFAULT
A singleton
IArrow instance that paints a default shaped black arrow. |
static IArrow |
IArrow.DIAMOND
A singleton
IArrow instance that paints a simple diamond-shaped black arrow. |
static IArrow |
IArrow.NONE
A singleton
IArrow instance that paints no arrow at all. |
static IArrow |
IArrow.SHORT
A singleton
IArrow instance that paints a short black arrow. |
static IArrow |
IArrow.SIMPLE
A singleton
IArrow instance that paints a simple black arrow. |
static IArrow |
IArrow.TRIANGLE
A singleton
IArrow instance that paints a simple triangle-shaped black arrow. |
Modifier and Type | Method and Description |
---|---|
IArrow |
Arrow.getAsFrozen()
Returns an immutable
IArrow instance that uses the current properties. |
protected IArrow |
PolylineEdgeStyleRenderer.getSourceArrow()
Gets the source arrow from the style via
SourceArrow . |
IArrow |
PolylineEdgeStyle.getSourceArrow()
Gets the visual arrow at the source end of edges that use this style.
|
protected abstract IArrow |
PathBasedEdgeStyleRenderer.getSourceArrow()
Gets the source arrow from the style.
|
IArrow |
IArrowOwner.getSourceArrow()
Gets the visual arrow at the source end of edges that use this style.
|
protected IArrow |
ArcEdgeStyleRenderer.getSourceArrow()
Gets the source arrow from the style via
SourceArrow . |
IArrow |
ArcEdgeStyle.getSourceArrow()
Gets the visual arrow at the source end of edges that use this style.
|
protected IArrow |
PolylineEdgeStyleRenderer.getTargetArrow()
Gets the target arrow from the style via
TargetArrow . |
IArrow |
PolylineEdgeStyle.getTargetArrow()
Gets the visual arrow at the target end of edges that use this style.
|
protected abstract IArrow |
PathBasedEdgeStyleRenderer.getTargetArrow()
Gets the target arrow from the style.
|
IArrow |
IArrowOwner.getTargetArrow()
Gets the visual arrow at the target end of edges that use this style.
|
protected IArrow |
ArcEdgeStyleRenderer.getTargetArrow()
Gets the target arrow from the style via
TargetArrow . |
IArrow |
ArcEdgeStyle.getTargetArrow()
Gets the visual arrow at the target end of edges that use this style.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractEdgeStyle.addArrows(IRenderContext context,
VisualGroup group,
IEdge edge,
GeneralPath edgePath,
IArrow sourceArrow,
IArrow targetArrow)
Convenience method that adds the arrows to a given container.
|
protected double |
DefaultEdgePathCropper.calculateTotalCropLength(IArrow arrow,
boolean atSource)
Calculates the total length the edge path is cropped.
|
GeneralPath |
IEdgePathCropper.cropEdgePath(IEdge edge,
boolean atSource,
IArrow arrow,
GeneralPath path)
Crops the provided
path at one end of an edge. |
GeneralPath |
DefaultEdgePathCropper.cropEdgePath(IEdge edge,
boolean atSource,
IArrow arrow,
GeneralPath path)
Crops the provided
path at one end of an edge. |
GeneralPath |
DefaultEdgePathCropper.cropEdgePathAtArrow(boolean atSource,
IArrow arrow,
GeneralPath path)
Crops an edge's path at the source or target side with respect to the given arrow.
|
protected GeneralPath |
DefaultEdgePathCropper.cropEdgePathAtPortGeometry(IEdge edge,
boolean atSource,
IArrow arrow,
GeneralPath path)
Crops an edge's path at the source or target side at the
port geometry with respect to
the given arrow. |
protected GeneralPath |
AbstractEdgeStyle.cropPath(IEdge edge,
IArrow sourceArrow,
IArrow targetArrow,
GeneralPath path)
Convenience method that crops the edge's path at the nodes.
|
protected Tangent |
AbstractEdgeStyle.getSourceArrowAnchor(GeneralPath path,
IArrow arrow)
Convenience method that calculates the source arrow anchor and direction for a a given arrow and path.
|
protected Tangent |
PathBasedEdgeStyleRenderer.getSourceArrowAnchor(IArrow arrow)
Calculate and update the anchor and the source arrow's direction vector.
|
protected Tangent |
AbstractEdgeStyle.getTargetArrowAnchor(GeneralPath path,
IArrow arrow)
Convenience method that calculates the target arrow anchor and direction for a a given arrow and path.
|
protected Tangent |
PathBasedEdgeStyleRenderer.getTargetArrowAnchor(IArrow arrow)
Calculate and update the anchor and the target arrow's direction vector.
|
protected GeneralPath |
DefaultEdgePathCropper.handleEmptyPath(IEdge edge,
boolean atSource,
IArrow arrow,
GeneralPath path)
Handles the edge path cropping if
DefaultEdgePathCropper.cropEdgePath(IEdge, boolean, IArrow, GeneralPath) would result in a cleared
path. |
void |
PolylineEdgeStyle.setSourceArrow(IArrow value)
Sets the visual arrow at the source end of edges that use this style.
|
void |
ArcEdgeStyle.setSourceArrow(IArrow value)
Sets the visual arrow at the source end of edges that use this style.
|
void |
PolylineEdgeStyle.setTargetArrow(IArrow value)
Sets the visual arrow at the target end of edges that use this style.
|
void |
ArcEdgeStyle.setTargetArrow(IArrow value)
Sets the visual arrow at the target end of edges that use this style.
|
protected void |
AbstractEdgeStyle.updateArrows(IRenderContext context,
VisualGroup group,
IEdge edge,
GeneralPath edgePath,
IArrow sourceArrow,
IArrow targetArrow)
Convenience method that updates the arrows in a given container.
|