C# Class FlatRedBall.Content.Polygon.PolygonSave

Show file Open project: vchelaru/FlatRedBall Class Usage Examples

Public Properties

Property Type Description
Alpha float
Blue float
Green float
Points Point[]
Red float

Public Methods

Method Description
FromPolygon ( FlatRedBall polygon ) : PolygonSave
PolygonSave ( ) : System
Save ( string fileName ) : void
ToPolygon ( ) : FlatRedBall.Math.Geometry.Polygon

Method Details

FromPolygon() public static method

public static FromPolygon ( FlatRedBall polygon ) : PolygonSave
polygon FlatRedBall
return PolygonSave

PolygonSave() public method

public PolygonSave ( ) : System
return System

Save() public method

public Save ( string fileName ) : void
fileName string
return void

ToPolygon() public method

public ToPolygon ( ) : FlatRedBall.Math.Geometry.Polygon
return FlatRedBall.Math.Geometry.Polygon

Property Details

Alpha public property

public float Alpha
return float

Blue public property

public float Blue
return float

Green public property

public float Green
return float

Points public property

public Point[] Points
return Point[]

Red public property

public float Red
return float