C# Class LTRect, LeanTween

Inheritance: System.Object
ファイルを表示 Open project: dentedpixel/LeanTween Class Usage Examples

Public Properties

Property Type Description
_rect Rect
alpha float
alphaEnabled bool
color Color
colorTouched bool
fontScaleToFit bool
labelStr string
margin Vector2
pivot Vector2
relativeRect Rect
rotateEnabled bool
rotation float
sizeByHeight bool
style GUIStyle
texture Texture
type LTGUI.Element_Type
useColor bool
useSimpleScale bool

Public Methods

Method Description
LTRect ( ) : UnityEngine
LTRect ( Rect rect ) : UnityEngine
LTRect ( float x, float y, float width, float height ) : UnityEngine
LTRect ( float x, float y, float width, float height, float alpha ) : UnityEngine
LTRect ( float x, float y, float width, float height, float alpha, float rotation ) : UnityEngine
ToString ( ) : string
reset ( ) : void
resetForRotation ( ) : void
setAlpha ( float alpha ) : LTRect,
setColor ( Color color ) : LTRect,
setFontScaleToFit ( bool fontScaleToFit ) : LTRect,
setId ( int id, int counter ) : void
setLabel ( String str ) : LTRect,
setSizeByHeight ( bool sizeByHeight ) : LTRect,
setStyle ( GUIStyle style ) : LTRect,
setUseSimpleScale ( bool useSimpleScale ) : LTRect,
setUseSimpleScale ( bool useSimpleScale, Rect relativeRect ) : LTRect,

Method Details

LTRect() public method

public LTRect ( ) : UnityEngine
return UnityEngine

LTRect() public method

public LTRect ( Rect rect ) : UnityEngine
rect Rect
return UnityEngine

LTRect() public method

public LTRect ( float x, float y, float width, float height ) : UnityEngine
x float
y float
width float
height float
return UnityEngine

LTRect() public method

public LTRect ( float x, float y, float width, float height, float alpha ) : UnityEngine
x float
y float
width float
height float
alpha float
return UnityEngine

LTRect() public method

public LTRect ( float x, float y, float width, float height, float alpha, float rotation ) : UnityEngine
x float
y float
width float
height float
alpha float
rotation float
return UnityEngine

ToString() public method

public ToString ( ) : string
return string

reset() public method

public reset ( ) : void
return void

resetForRotation() public method

public resetForRotation ( ) : void
return void

setAlpha() public method

public setAlpha ( float alpha ) : LTRect,
alpha float
return LTRect,

setColor() public method

public setColor ( Color color ) : LTRect,
color Color
return LTRect,

setFontScaleToFit() public method

public setFontScaleToFit ( bool fontScaleToFit ) : LTRect,
fontScaleToFit bool
return LTRect,

setId() public method

public setId ( int id, int counter ) : void
id int
counter int
return void

setLabel() public method

public setLabel ( String str ) : LTRect,
str String
return LTRect,

setSizeByHeight() public method

public setSizeByHeight ( bool sizeByHeight ) : LTRect,
sizeByHeight bool
return LTRect,

setStyle() public method

public setStyle ( GUIStyle style ) : LTRect,
style GUIStyle
return LTRect,

setUseSimpleScale() public method

public setUseSimpleScale ( bool useSimpleScale ) : LTRect,
useSimpleScale bool
return LTRect,

setUseSimpleScale() public method

public setUseSimpleScale ( bool useSimpleScale, Rect relativeRect ) : LTRect,
useSimpleScale bool
relativeRect Rect
return LTRect,

Property Details

_rect public_oe property

public Rect _rect
return Rect

alpha public_oe property

public float alpha
return float

alphaEnabled public_oe property

public bool alphaEnabled
return bool

color public_oe property

public Color color
return Color

colorTouched public_oe static_oe property

public static bool colorTouched
return bool

fontScaleToFit public_oe property

public bool fontScaleToFit
return bool

labelStr public_oe property

public string labelStr
return string

margin public_oe property

public Vector2 margin
return Vector2

pivot public_oe property

public Vector2 pivot
return Vector2

relativeRect public_oe property

public Rect relativeRect
return Rect

rotateEnabled public_oe property

public bool rotateEnabled
return bool

rotation public_oe property

public float rotation
return float

sizeByHeight public_oe property

public bool sizeByHeight
return bool

style public_oe property

public GUIStyle style
return GUIStyle

texture public_oe property

public Texture texture
return Texture

type public_oe property

public LTGUI.Element_Type type
return LTGUI.Element_Type

useColor public_oe property

public bool useColor
return bool

useSimpleScale public_oe property

public bool useSimpleScale
return bool