DroidDiagram Programmer's Guide
DiagramLink.setCustomDraw Method
See Also
 






Sets the type of custom drawing performed on this link.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public void setCustomDraw (
    CustomDraw value
)

 Parameters

value
A member of the CustomDraw enumeration.

 Remarks

This property allows invoking custom painting code for a link. That code must execute in response to the drawLink event. There are several modes of custom painting, allowing the custom code to paint the link entirely, or do that in addition to what DroidDiagram paints by default. The following CustomDraw members can be assigned to this property to specify the custom painting mode:

Member name

Description

None

Do not perform custom drawing, let all painting be done by DroidDiagram.

Additional

The custom painting code executes after the link segments and arrowhead shapes are painted by DroidDiagram, but before text is rendered.

Full

The component does not do any standard drawing, the entire painting of the link is done by the application.

ShadowOnly

Only the shadow of the link is painted by custom code, the link itself is drawn by the component.

 See Also

DiagramLink Members
DiagramLink Class
com.mindfusion.diagramming Namespace