Shape Properties

SFML.Net

Shape Properties

The Shape type exposes the following members.

Properties
  Name Description
Public property CPointer
Access to the internal pointer of the object. For internal use only
(Inherited from ObjectBase.)
Public property FillColor
Fill color of the shape
Public property InverseTransform
The combined transform of the object
(Inherited from Transformable.)
Public property Origin
The origin of an object defines the center point for all transformations (position, scale, rotation). The coordinates of this point must be relative to the top-left corner of the object, and ignore all transformations (position, scale, rotation).
(Inherited from Transformable.)
Public property OutlineColor
Outline color of the shape
Public property OutlineThickness
Thickness of the shape's outline
Public property Position
Position of the object
(Inherited from Transformable.)
Public property Rotation
Rotation of the object
(Inherited from Transformable.)
Public property Scale
Scale of the object
(Inherited from Transformable.)
Public property Texture
Source texture of the shape
Public property TextureRect
Sub-rectangle of the texture that the shape will display
Public property Transform
The combined transform of the object
(Inherited from Transformable.)
Top
See Also