Русский | English
Class TCastleLine2DBase
Unit
CastleLine2DBase
Declaration
type TCastleLine2DBase = class(TCastleAbstractPrimitive)
Description
Base class for shapes that are defined by a set of vertices Points. Inherited classes should override the ReLoad method.) A property editor is provided for the Points vertex set It is also possible to edit a set of vertices from the CGE editor window. To enter edit mode, use "verb" (Edit mode ON) - right-click on the object in the object hierarchy window.
Hierarchy
- TCastleAbstractPrimitive
- TCastleLine2DBase
Overview
Methods
Properties
Description
Methods
 |
procedure Clear; virtual; |
Delete all points
|
 |
procedure CustomSerialization(const SerializationProcess: TSerializationProcess); override; |
|
 |
procedure ReLoad; virtual; |
Build geometry again. Inherited classes should override this method
|
 |
procedure SavePointsToFile(const FileName:string); |
Save points Points to a file
|
 |
procedure LoadPointsFromFile(const FileName:string); |
Load points Points from a file
|
 |
function SelfIntersections:boolean; |
Checking for self-intersection.
|
 |
constructor Create(AOwner: TComponent); override; |
|
 |
destructor Destroy; override; |
|
 |
function PropertySections(const PropertyName: String): TPropertySections; override; |
|
Properties
 |
property EditMode: boolean read FEditMode write FEditMode; |
Is editing mode enabled
|
 |
property Points: TVector2List read FPoints write FPoints; |
Points (vertices). Inherited classes should build geometry based on them
|
Generated by PasDoc 0.16.0.