Search
Calendar.getElementBounds Method
See Also
 






Gets the bounding rectangle of a particular calendar element.

Namespace: com.mindfusion.scheduling
Package: com.mindfusion.scheduling

 Syntax

Java  Copy Code

public Rectangle getElementBounds (
    CalendarElement element,
    int index
)

 Parameters

element

The type of the element whose bounds to retrieve.

index

The index of the element, if there is more than one element of the specified type.

 Return Value

The bounding rectangle of the specified element or an empty rectangle if the element is either not present in the current view or not visible in the current viewport.

 See Also