Search Results for

    Show / Hide Table of Contents

    Class Image

    Inheritance
    System.Object
    Image
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Oasys.Common.Tools
    Assembly: Oasys.Common.dll
    Syntax
    public class Image

    Constructors

    Image()

    Declaration
    public Image()

    Image(Vector2, Image)

    Declaration
    public Image(Vector2 position, Image image)
    Parameters
    Type Name Description
    SharpDX.Vector2 position
    Image image

    Image(Vector2, Color, Single, Single, Image)

    Declaration
    public Image(Vector2 position, Color color, float xScale, float yScale, Image image)
    Parameters
    Type Name Description
    SharpDX.Vector2 position
    SharpDX.Color color
    System.Single xScale
    System.Single yScale
    Image image

    Image(Vector2, Color, Single[], Image)

    Declaration
    public Image(Vector2 position, Color color, float[] scale, Image image)
    Parameters
    Type Name Description
    SharpDX.Vector2 position
    SharpDX.Color color
    System.Single[] scale
    Image image

    Image(Single[], Image)

    Declaration
    public Image(float[] scale, Image image)
    Parameters
    Type Name Description
    System.Single[] scale
    Image image

    Properties

    Color

    Declaration
    public Color Color { get; set; }
    Property Value
    Type Description
    SharpDX.Color

    Name

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    Position

    Declaration
    public Vector2 Position { get; set; }
    Property Value
    Type Description
    SharpDX.Vector2

    Scale

    Declaration
    public float[] Scale { get; set; }
    Property Value
    Type Description
    System.Single[]

    Sprite

    Declaration
    public Sprite Sprite { get; set; }
    Property Value
    Type Description
    SharpDX.Direct3D9.Sprite

    Texture

    Declaration
    public Texture Texture { get; set; }
    Property Value
    Type Description
    SharpDX.Direct3D9.Texture

    Methods

    Draw()

    Declaration
    public void Draw()

    New(Vector2)

    Declaration
    public Image New(Vector2 position)
    Parameters
    Type Name Description
    SharpDX.Vector2 position
    Returns
    Type Description
    Image

    New(Vector2, Color, Single, Single)

    Declaration
    public Image New(Vector2 position, Color color, float xScale, float yScale)
    Parameters
    Type Name Description
    SharpDX.Vector2 position
    SharpDX.Color color
    System.Single xScale
    System.Single yScale
    Returns
    Type Description
    Image

    New(Vector2, Color, Single[])

    Declaration
    public Image New(Vector2 position, Color color, float[] scale)
    Parameters
    Type Name Description
    SharpDX.Vector2 position
    SharpDX.Color color
    System.Single[] scale
    Returns
    Type Description
    Image

    New(Single)

    Declaration
    public Image New(float scale)
    Parameters
    Type Name Description
    System.Single scale
    Returns
    Type Description
    Image

    New(Single[])

    Declaration
    public Image New(float[] scale)
    Parameters
    Type Name Description
    System.Single[] scale
    Returns
    Type Description
    Image

    Extension Methods

    Extensions.In<T>(T, T[])
    ☀
    ☾
    In This Article
    Back to top
    Generated by DocFX
    ☀
    ☾