[Overview][Classes][Procedures and functions][Index] | Reference for unit 'nvPainter' (#nvidia-widgets)

# UIPainter

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Basic painter class

## Declaration

Source position: nvpainter.pas line 21

`type UIPainter = class(TObject)`
`public`
`constructor Create;`
`procedure _begin(); virtual;`
`procedure _end; virtual;`
`procedure drawFrame(); virtual; abstract;`
`function getLabelRect(); virtual; abstract;`
`procedure drawLabel(); virtual; abstract;`
`function getButtonRect(); virtual; abstract;`
`procedure drawButton(); virtual; abstract;`
`function getCheckRect(); virtual; abstract;`
`procedure drawCheckButton(); virtual; abstract;`
`function getRadioRect(); virtual; abstract;`
`procedure drawRadioButton(); virtual; abstract;`
`function getHorizontalSliderRect(); virtual; abstract;`
`procedure drawHorizontalSlider(); virtual; abstract;`
`function getItemRect(); virtual; abstract;`
`procedure drawListItem(); virtual; abstract;`
`function getListRect(); virtual; abstract;`
`procedure drawListBox(); virtual; abstract;`
`function getComboRect(); virtual; abstract;`
`function getComboOptionsRect(); virtual; abstract;`
`procedure drawComboBox(); virtual; abstract;`
`procedure drawComboOptions(); virtual; abstract;`
`function getLineEditRect(); virtual; abstract;`
`procedure drawLineEdit(); virtual; abstract;`
`function getPanelRect(); virtual; abstract;`
`procedure drawPanel(); virtual; abstract;`
`function getTextureViewRect(); virtual; abstract;`
`procedure drawTextureView(); virtual; abstract;`
`function getCanvasMargin; virtual;`
`function getCanvasSpace; virtual;`
`function getFontHeight; virtual;`
`function getTextLineWidth(); virtual;`
`function getTextSize(); virtual;`
`function getPickedCharNb(); virtual;`
`procedure drawDebugRect(); virtual; abstract;`
`procedure init; virtual; abstract;`
`published`
`property Font: TnvBaseFont; [rw]`
`end;`

## Inheritance

`UIPainter` |  | Basic painter class
`TObject`