Click or drag to resize
Frame Constructor (DisplayTextureRef, Int16, PointF, Rectangle)
Creates a new frame definition based on a graphic sheet, cell index, transformation and source rectangle.

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
public Frame(
	DisplayTextureRef texture,
	short cell,
	PointF[] corners,
	Rectangle srcRect
)

Parameters

texture
Type: (Default Namespace)DisplayTextureRef
Refers to an object that provides a hardware copy of the graphic sheet on which this frame is based.
cell
Type: SystemInt16
Provides a value for this frame's CellIndex property.
corners
Type: System.DrawingPointF
Corners of the output rectangle for drawing this frame in counter-clockwise order beginning with the top left corner.
srcRect
Type: System.DrawingRectangle
Provides this frame's SourceRect.
See Also