Text Methods

SFML.Net

Text Methods

The Text type exposes the following members.

Methods
  Name Description
Protected method Destroy
Handle the destruction of the object
(Overrides TransformableDestroy(Boolean).)
Public method Dispose
Explicitely dispose the object
(Inherited from ObjectBase.)
Public method Draw
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Dispose the object
(Inherited from ObjectBase.)
Public method FindCharacterPos
Return the visual position of the Index-th character of the text, in coordinates relative to the text (note : translation, origin, rotation and scale are not applied)
Public method GetGlobalBounds
Get the global bounding rectangle of the entity. The returned rectangle is in global coordinates, which means that it takes in account the transformations (translation, rotation, scale, ...) that are applied to the entity. In other words, this function returns the bounds of the sprite in the global 2D world's coordinate system.
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetLocalBounds
Get the local bounding rectangle of the entity. The returned rectangle is in local coordinates, which means that it ignores the transformations (translation, rotation, scale, ...) that are applied to the entity. In other words, this function returns the bounds of the entity in the entity's coordinate system.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Provide a string describing the object
(Overrides ObjectToString.)
Top
See Also