DroidDiagram Programmer's Guide
ComponentBase.getDesiredSize Method
See Also
 






Gets the desired size of this component in case the width and/or height have not been explicitly specified.

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

 Syntax

Java  Copy Code

public XDimension2D.Double getDesiredSize (
    XDimension2D.Double availableSize,
    Graphics2D g2d
)

 Parameters

availableSize

The available size.

g2d

A relevant Graphics2D object.

 Return Value

A XDimension2D.Double object representing the desired size.

 See Also

ComponentBase Members
ComponentBase Class
com.mindfusion.diagramming.components Namespace