Class TBorder

Unit

Declaration

type TBorder = class(TPersistent)

Description

Configurable border size for TCastleUserInterface.Border.

Hierarchy

  • TObject
  • TPersistent
  • TBorder

Overview

Methods

Public constructor Create(const AOnChange: TNotifyEvent);
Public function TotalTop: Single;
Public function TotalRight: Single;
Public function TotalBottom: Single;
Public function TotalLeft: Single;
Public function TotalWidth: Single;
Public function TotalHeight: Single;
Public function Exists: Boolean;
Public function HasDefaultValue: Boolean;

Properties

Published property Top: Single read FTop write SetTop default 0 ;
Published property Right: Single read FRight write SetRight default 0 ;
Published property Bottom: Single read FBottom write SetBottom default 0 ;
Published property Left: Single read FLeft write SetLeft default 0 ;
Published property AllSides: Single read FAllSides write SetAllSides default 0 ;

Description

Methods

Public constructor Create(const AOnChange: TNotifyEvent);
 
Public function TotalTop: Single;

Total top border (Top + AllSides).

Public function TotalRight: Single;

Total right border (Right + AllSides).

Public function TotalBottom: Single;

Total bottom border (Bottom + AllSides).

Public function TotalLeft: Single;

Total left border (Left + AllSides).

Public function TotalWidth: Single;

Total horizontal border (TotalLeft + TotalRight).

Public function TotalHeight: Single;

Total vertical border (TotalTop + TotalBottom).

Public function Exists: Boolean;

Anything not zero?

Public function HasDefaultValue: Boolean;
 

Properties

Published property Top: Single read FTop write SetTop default 0 ;
 
Published property Right: Single read FRight write SetRight default 0 ;
 
Published property Bottom: Single read FBottom write SetBottom default 0 ;
 
Published property Left: Single read FLeft write SetLeft default 0 ;
 
Published property AllSides: Single read FAllSides write SetAllSides default 0 ;
 

Generated by PasDoc 0.16.0.