The Texture type exposes the following members.

Constructors

  NameDescription
Public methodTexture
Initializes a new instance of the Texture class

Methods

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodFromStream
Load image from input stream. Jpeg, Gif, Png and Bmp images are supported.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

Properties

  NameDescription
Public propertyAlignment
Gets or sets texture alignment type.
Public propertyFormatName
Gets image format or file extension e.g. "jpg", "bmp", etc.
Public propertyMirrorType
Gets or sets mirror type of a texture. Works for Microsoft Office formats only.
Public propertyOffsetX
Gets or sets X offset of a texture. Value must be in the range [0..1];
Public propertyOffsetY
Gets or sets Y offset of a texture. Value must be in the range [0..1];
Public propertyRotated
Gets or sets whether the texture rotated with a shape.

See Also