Description | Hierarchy | Fields | Methods | Properties |
type TRbwRuler = class(TPaintBox)
TRbwRuler
draws a ruler.
The orientation, scaling, number format, and position of the ruler can be controlled through properties. Rotated text will only work if a TrueType font is used.
![]() |
FPainter: TRulerPainter; |
![]() |
procedure SetRulerDesiredSpacing(const Value: integer); |
![]() |
procedure SetRulerDigits(Value: integer); |
![]() |
procedure SetRulerLinePosition(const Value: integer); |
![]() |
procedure SetRulerMajorTickLength(const Value: integer); |
![]() |
procedure SetRulerMinorTickLength(const Value: integer); |
![]() |
procedure SetRulerEnds(const Value: TRulerPositions); |
![]() |
procedure SetRulerPrecision(Value: integer); |
![]() |
procedure SetRulerPosition(const Value: TRulerPosition); |
![]() |
procedure SetRulerStart(const Value: TStart); |
![]() |
procedure SetRulerTextOffset(const Value: integer); |
![]() |
procedure SetRulerTextPosition(const Value: TTextPosition); |
![]() |
procedure SetRulerValues(const Value: TRulerValues); |
![]() |
function GetRulerDesiredSpacing: integer; |
![]() |
procedure PainterInvalidate(Sender: TObject); |
![]() |
function GetRulerDigits: integer; |
![]() |
function GetRulerEnds: TRulerPositions; |
![]() |
function GetRulerLinePosition: integer; |
![]() |
function GetRulerMajorTickLength: integer; |
![]() |
function GetRulerMinorTickLength: integer; |
![]() |
function GetRulerPosition: TRulerPosition; |
![]() |
function GetRulerPrecision: integer; |
![]() |
function GetRulerStart: TStart; |
![]() |
function GetRulerTextOffset: integer; |
![]() |
function GetRulerTextPosition: TTextPosition; |
![]() |
function GetRulerValues: TRulerValues; |
![]() |
procedure Paint; override; |
![]() |
constructor Create(AOwner: TComponent); override; |
![]() |
destructor Destroy; override; |
![]() |
procedure PaintRotated(ACanvas: TCanvas; const X, Y, Angle: double; const Text: string); virtual; |
![]() |
FPainter: TRulerPainter; |
![]() |
procedure SetRulerDesiredSpacing(const Value: integer); |
See RulerDesiredSpacing. |
![]() |
procedure SetRulerDigits(Value: integer); |
See RulerDigits. |
![]() |
procedure SetRulerLinePosition(const Value: integer); |
See RulerLinePosition. |
![]() |
procedure SetRulerMajorTickLength(const Value: integer); |
See RulerMajorTickLength. |
![]() |
procedure SetRulerMinorTickLength(const Value: integer); |
See RulerMinorTickLength. |
![]() |
procedure SetRulerEnds(const Value: TRulerPositions); |
See RulerEnds. |
![]() |
procedure SetRulerPrecision(Value: integer); |
See RulerPrecision. |
![]() |
procedure SetRulerPosition(const Value: TRulerPosition); |
See RulerPosition. |
![]() |
procedure SetRulerStart(const Value: TStart); |
See RulerStart. |
![]() |
procedure SetRulerTextOffset(const Value: integer); |
See RulerTextOffset. |
![]() |
procedure SetRulerTextPosition(const Value: TTextPosition); |
See RulerTextPosition. |
![]() |
procedure SetRulerValues(const Value: TRulerValues); |
See RulerValues. |
![]() |
function GetRulerDesiredSpacing: integer; |
See RulerDesiredSpacing. |
![]() |
procedure PainterInvalidate(Sender: TObject); |
|
![]() |
function GetRulerDigits: integer; |
See RulerDigits. |
![]() |
function GetRulerEnds: TRulerPositions; |
See RulerEnds. |
![]() |
function GetRulerLinePosition: integer; |
See RulerLinePosition. |
![]() |
function GetRulerMajorTickLength: integer; |
See RulerMajorTickLength. |
![]() |
function GetRulerMinorTickLength: integer; |
See RulerMinorTickLength. |
![]() |
function GetRulerPosition: TRulerPosition; |
See RulerPosition. |
![]() |
function GetRulerPrecision: integer; |
See RulerPrecision. |
![]() |
function GetRulerStart: TStart; |
See RulerStart. |
![]() |
function GetRulerTextOffset: integer; |
See RulerTextOffset. |
![]() |
function GetRulerTextPosition: TTextPosition; |
See RulerTextPosition. |
![]() |
function GetRulerValues: TRulerValues; |
See RulerValues. |
![]() |
procedure Paint; override; |
|
![]() |
constructor Create(AOwner: TComponent); override; |
|
![]() |
destructor Destroy; override; |
|
![]() |
property Painter: TRulerPainter read FPainter; |
![]() |
property RulerDesiredSpacing: integer read GetRulerDesiredSpacing
write SetRulerDesiredSpacing default 60; |
|
![]() |
property RulerDigits: integer read GetRulerDigits write SetRulerDigits; |
|
![]() |
property RulerEnds: TRulerPositions read GetRulerEnds write SetRulerEnds; |
|
![]() |
property RulerLinePosition: integer read GetRulerLinePosition
write SetRulerLinePosition; |
|
![]() |
property RulerMajorTickLength: integer read GetRulerMajorTickLength
write SetRulerMajorTickLength; |
|
![]() |
property RulerMinorTickLength: integer read GetRulerMinorTickLength
write SetRulerMinorTickLength; |
|
![]() |
property RulerPosition: TRulerPosition read GetRulerPosition
write SetRulerPosition; |
See RulerPosition. |
![]() |
property RulerPrecision: integer read GetRulerPrecision write SetRulerPrecision; |
|
![]() |
property RulerStart: TStart read GetRulerStart write SetRulerStart; |
|
![]() |
property RulerTextOffset: integer read GetRulerTextOffset
write SetRulerTextOffset; |
|
![]() |
property RulerTextPosition: TTextPosition read GetRulerTextPosition
write SetRulerTextPosition; |
|
![]() |
property RulerValues: TRulerValues read GetRulerValues write SetRulerValues; |
|