C# Class FlatRedBall.Utilities.SpriteSelectionOptions

Contains information for simulating an expansion or contraction of a Sprite.
This struct is used by a number of FlatRedball classes such as SpriteGrid and MathFunctions.
显示文件 Open project: vchelaru/FlatRedBall

Public Properties

Property Type Description
BottomAllowance float
Default SpriteSelectionOptions
LeftAllowance float
RightAllowance float
TopAllowance float

Public Methods

Method Description
SpriteSelectionOptions ( float topAllowance, float bottomAllowance, float leftAllowance, float rightAllowance ) : System

Method Details

SpriteSelectionOptions() public method

public SpriteSelectionOptions ( float topAllowance, float bottomAllowance, float leftAllowance, float rightAllowance ) : System
topAllowance float
bottomAllowance float
leftAllowance float
rightAllowance float
return System

Property Details

BottomAllowance public_oe property

public float BottomAllowance
return float

Default public_oe static_oe property

public static SpriteSelectionOptions,FlatRedBall.Utilities Default
return SpriteSelectionOptions

LeftAllowance public_oe property

public float LeftAllowance
return float

RightAllowance public_oe property

public float RightAllowance
return float

TopAllowance public_oe property

public float TopAllowance
return float