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()
Assembly: Oasys.Common.dll
Constructors
Declaration
Declaration
public Image(Vector2 position, Image image)
Parameters
Type |
Name |
Description |
SharpDX.Vector2 |
position |
|
Image |
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 |
|
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 |
|
Declaration
public Image(float[] scale, Image image)
Parameters
Type |
Name |
Description |
System.Single[] |
scale |
|
Image |
image |
|
Properties
Declaration
public Color Color { get; set; }
Property Value
Type |
Description |
SharpDX.Color |
|
Declaration
public string Name { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
public Vector2 Position { get; set; }
Property Value
Type |
Description |
SharpDX.Vector2 |
|
Declaration
public float[] Scale { get; set; }
Property Value
Type |
Description |
System.Single[] |
|
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
Declaration
Declaration
public Image New(Vector2 position)
Parameters
Type |
Name |
Description |
SharpDX.Vector2 |
position |
|
Returns
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
Declaration
public Image New(Vector2 position, Color color, float[] scale)
Parameters
Type |
Name |
Description |
SharpDX.Vector2 |
position |
|
SharpDX.Color |
color |
|
System.Single[] |
scale |
|
Returns
Declaration
public Image New(float scale)
Parameters
Type |
Name |
Description |
System.Single |
scale |
|
Returns
Declaration
public Image New(float[] scale)
Parameters
Type |
Name |
Description |
System.Single[] |
scale |
|
Returns
Extension Methods