Class TBorder
Unit
Declaration
type TBorder = class(TPersistent)
Description
Configurable border size for TCastleUserInterface.Border.
Hierarchy
- TObject
- TPersistent
- TBorder
Overview
Methods
constructor Create(const AOnChange: TNotifyEvent); |
|
function TotalTop: Single; |
|
function TotalRight: Single; |
|
function TotalBottom: Single; |
|
function TotalLeft: Single; |
|
function TotalWidth: Single; |
|
function TotalHeight: Single; |
|
function Exists: Boolean; |
|
function HasDefaultValue: Boolean; |
Properties
property Top: Single read FTop write SetTop default 0 ; |
|
property Right: Single read FRight write SetRight default 0 ; |
|
property Bottom: Single read FBottom write SetBottom default 0 ; |
|
property Left: Single read FLeft write SetLeft default 0 ; |
|
property AllSides: Single read FAllSides write SetAllSides default 0 ; |
Description
Methods
constructor Create(const AOnChange: TNotifyEvent); |
|
function TotalTop: Single; |
|
Total top border (Top + AllSides). |
function TotalRight: Single; |
|
function TotalBottom: Single; |
|
Total bottom border (Bottom + AllSides). |
function TotalLeft: Single; |
|
Total left border (Left + AllSides). |
function TotalWidth: Single; |
|
Total horizontal border (TotalLeft + TotalRight). |
function TotalHeight: Single; |
|
Total vertical border (TotalTop + TotalBottom). |
function Exists: Boolean; |
|
Anything not zero? |
function HasDefaultValue: Boolean; |
|
Properties
property Top: Single read FTop write SetTop default 0 ; |
|
property Right: Single read FRight write SetRight default 0 ; |
|
property Bottom: Single read FBottom write SetBottom default 0 ; |
|
property Left: Single read FLeft write SetLeft default 0 ; |
|
property AllSides: Single read FAllSides write SetAllSides default 0 ; |
|
Generated by PasDoc 0.16.0.