TextDraw Class |
Namespace: SampSharp.Entities.SAMP
public sealed class TextDraw : Component
The TextDraw type exposes the following members.
| Name | Description | |
|---|---|---|
| Alignment |
Gets or sets the alignment of this textdraw.
| |
| BackColor |
Gets or sets the background color of this textdraw.
| |
| BoxColor |
Gets or sets the color of the box of this textdraw.
| |
| Entity |
Gets the entity to which this component has been attached.
(Inherited from Component.) | |
| Font |
Gets or sets the font of this textdraw.
| |
| ForeColor |
Gets or sets the color of the text of this textdraw.
| |
| IsComponentAlive |
Gets a value indicating whether this component is alive (has not been destroyed).
(Inherited from Component.) | |
| LetterSize |
Gets or sets the size of the letters of this textdraw.
| |
| Outline |
Gets or sets the outline size of this textdraw.
| |
| Parent |
Gets the parent entity of the entity to which this component has been attached.
(Inherited from Component.) | |
| Position |
Gets the position of this textdraw.
| |
| PreviewModel |
Gets or sets the preview model of this textdraw.
| |
| Proportional |
Gets or sets a value indicating whether the font of this textdraw is rendered as a monospaced font.
| |
| Selectable |
Gets or sets a value indicating whether this textdraw is selectable by the player.
| |
| Shadow |
Gets or sets the shadow size of this textdraw.
| |
| Text |
Gets or sets the text of this textdraw.
| |
| TextSize |
Gets or sets the size of this textdraw box and click-able area.
| |
| UseBox |
Gets or sets a value indicating whether a box is used for this textdraw.
|
| Name | Description | |
|---|---|---|
| AddComponentT |
Adds a component of the specified type T to the entity.
(Inherited from Component.) | |
| AddComponentT(Object) |
Adds a component of the specified type T to the entity with the specified constructor args.
(Inherited from Component.) | |
| Destroy |
Destroys this component.
(Inherited from Component.) | |
| DestroyComponentsT |
Destroys the components of the specified type T attached to the entity.
(Inherited from Component.) | |
| DestroyEntity |
Destroys the entity.
(Inherited from Component.) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| GetComponentT |
Gets a component of the specified type T attached to the entity.
(Inherited from Component.) | |
| GetComponentInChildrenT |
Gets a component of the specified type T attached to a child entity of the entity using a depth first search.
(Inherited from Component.) | |
| GetComponentInParentT |
Gets a component of the specified type T attached to a parent entity of the entity.
(Inherited from Component.) | |
| GetComponentsT |
Gets all components of the specified type T attached to the entity.
(Inherited from Component.) | |
| GetComponentsInChildrenT |
Gets all components of the specified type T attached to a child entity of the entity.
(Inherited from Component.) | |
| GetComponentsInParentT |
Gets all components of the specified type T attached to a parent entity of the entity.
(Inherited from Component.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Hide |
Hides this textdraw for all connected players.
| |
| Hide(EntityId) |
Hides this textdraw for the specified player.
| |
| SetPreviewRotation |
Sets the preview object rotation and zoom of this textdraw.
| |
| SetPreviewVehicleColor |
Sets the color of the preview vehicle of this textdraw.
| |
| Show |
Shows this textdraw for all connected players.
| |
| Show(EntityId) |
Shows this textdraw for the specified player.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |