XUITagCanvasRenderer
Description
Responsible for rendering tag data into a visible tag.
Methods
Name | Parameters | Returns |
---|---|---|
AutocompleteHorizontalPadding | Integer |
|
AutocompleteOptionHeight | Integer |
|
AutocompleteOptionVerticalPadding | Integer |
|
AutocompletePopupBorderRadius | Integer |
|
AutocompleteVerticalPadding | Integer |
|
Owner | XUITagCanvas |
|
RenderAutocompletePopup | maxWidth As Integer , selectedIndex As Integer |
Picture |
RenderTag | tag As XUITag , g As Graphics , x As Integer , y As Integer , hasWidget As Boolean |
Double |
TagHeight | g As Graphics |
Integer |
TagHorizontalPadding | Integer |
|
TagVerticalPadding | Integer |
|
TagWidth | tag As XUITag , g As Graphics |
Double |
Method Descriptions
AutocompleteHorizontalPadding() As Integer The suggested number of pixels to pad to the left and right of autocomplete options in the autocomplete popup.
AutocompleteOptionHeight() As Integer Returns the height of an autocomplete option in the autocomplete popup.
AutocompleteOptionVerticalPadding() As Integer The suggested number of pixels to pad above and below autocomplete options in the autocomplete popup.
AutocompletePopupBorderRadius() As Integer The border radius of the autocomplete popup.
AutocompleteVerticalPadding() As Integer The number of pixels to pad above the first and below the last autocomplete options in the autocomplete popup.
Owner() As XUITagCanvas
The XUITagCanvas
that owns this renderer.
RenderAutocompletePopup(maxWidth As Integer, selectedIndex As Integer) As Picture Renders and returns a picture for the canvas autocomplete popup.
RenderTag(tag As XUITag, g As Graphics, x As Integer, y As Integer, hasWidget As Boolean) As Double
Renders tag
to g
at x, y
. Returns the x coordinate at the far right of the rendered tag.
TagHeight(g As Graphics) As Integer Returns the height of a tag.
TagHorizontalPadding() As Integer The suggested number of pixels to pad either side of tags in the tag canvas.
TagVerticalPadding() As Integer The suggested number of pixels to pad above and below tags in the tag canvas.
TagWidth(tag As XUITag, g As Graphics) As Double
Computes the total width of tag
if drawn to the specified graphics context g
.