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

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,
	int color
)

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.
color
Type: SystemInt32
Provides this frame's Color.
See Also