Search
ItemDrawContext Methods
 


 Public Methods

  Name Description

drawBorder

Renders the frame around the specified rectangle.

drawContentsText

Renders the item's contents text at the specified location.

drawDefault

Overloaded. Renders the item in its default appearance.

drawEndClock

Draws a clock icon representing the item's end time at the specified location.

drawFormattedContentsText

Renders the item's contents text at the specified location. Some HTML tags within the item text are recognized and rendered accordingly.

drawHeaderBorder

Renders the header frame around the specified rectangle.

drawHeaderText

Renders the item's header text at the specified location.

drawImage

Draws the specified image in the specified rectangle, using the specified alignment.

drawRecurrenceIcon

Draws an icon representing the item's recurrence state at the specified location.

drawReminderIcon

Draws an icon representing the item's reminder at the specified location.

drawStartClock

Draws a clock icon representing the item's start time at the specified location.

getBounds

Gets the rectangle bounding the item contents.

getCalendar

Gets the Calendar component, associated with the item.

getEndsHere

Gets a value indicating whether the item part being drawn is the last part of the item.

getGraphics

Gets the target graphics object.

getIsAllDayEvent

Gets a value indicating whether the item is an all day event or not. The item is always considered an all day event if it is drawn outside of a CalendarView.Timetable view.

getIsHorizontal

Gets a value indicating the item's orientation.

getIsMilestone

Gets a value indicating whether the item is rendered in milestone mode.

getItem

Gets the item that is being drawn.

getPointed

Gets a value indicating whether the mouse is over the drawn item.

getStartsHere

Gets a value indicating whether the item part being drawn is the first part of the item.

getStyle

Gets the style that should be used to draw the item.

setGraphics

Sets the target graphics object.

 See Also