Search
ItemDrawContext.drawHeaderBorder Method
See Also
 






Renders the header frame around the specified rectangle.

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

 Syntax

Java  Copy Code

public void drawHeaderBorder (
    Rectangle destination
)

 Parameters

destination

The rectangle in which to render the item.

 Remarks

This method renders a border around the specified rectangle using the settings from the underlying style, such as Style.getHeaderBorderLeftColor, Style.getHeaderBorderLeftWidth, and so on. Since the style is based on the current theme, the rendered frame is guaranteed to be theme independent, that is, the color and thickness of the frame, unless overridden, are the same as those specified in the current theme. If the theme is changed, the color and thickness are updated accordingly.

 See Also