C# Class WaveEngine.Components.UI.ImageControl

Image control.
Inheritance: Control
Show file Open project: WaveEngine/Components Class Usage Examples

Public Properties

Property Type Description
SourceRectangle Rectangle?

Protected Properties

Property Type Description
disposed bool
isGlobalAsset bool

Private Properties

Property Type Description

Public Methods

Method Description
Arrange ( RectangleF finalSize ) : void

Arranges the specified final size.

ImageControl ( ) : System

Initializes a new instance of the ImageControl class.

ImageControl ( System.Color color, int width, int height ) : System

Initializes a new instance of the ImageControl class.

ImageControl ( Texture texture ) : System

Initializes a new instance of the ImageControl class.

ImageControl ( string texturePath ) : System

Initializes a new instance of the ImageControl class.

Protected Methods

Method Description
DefaultValues ( ) : void

Sets default values for this instance.

Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

Initialize ( ) : void

Performs further custom initialization for this instance.

Method Details

Arrange() public method

Arranges the specified final size.
public Arrange ( RectangleF finalSize ) : void
finalSize RectangleF The final size.
return void

DefaultValues() protected method

Sets default values for this instance.
protected DefaultValues ( ) : void
return void

Dispose() protected method

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool disposing ) : void
disposing bool /// true to release both managed and unmanaged resources; false to release only unmanaged resources. ///
return void

ImageControl() public method

Initializes a new instance of the ImageControl class.
public ImageControl ( ) : System
return System

ImageControl() public method

Initializes a new instance of the ImageControl class.
public ImageControl ( System.Color color, int width, int height ) : System
color System.Color The color.
width int The width.
height int The height.
return System

ImageControl() public method

Initializes a new instance of the ImageControl class.
public ImageControl ( Texture texture ) : System
texture Texture Texture instance.
return System

ImageControl() public method

Initializes a new instance of the ImageControl class.
public ImageControl ( string texturePath ) : System
texturePath string The texture path.
return System

Initialize() protected method

Performs further custom initialization for this instance.
protected Initialize ( ) : void
return void

Property Details

SourceRectangle public property

The source rectangle
public Rectangle? SourceRectangle
return Rectangle?

disposed protected property

The disposed
protected bool disposed
return bool

isGlobalAsset protected property

The is global asset
protected bool isGlobalAsset
return bool