Loading...
Searching...
No Matches
PixelCrushers.RectExtensions Class Reference

Static Public Member Functions

static Vector2 TopLeft (this Rect rect)
 
static Rect ScaleSizeBy (this Rect rect, float scale)
 
static Rect ScaleSizeBy (this Rect rect, float scale, Vector2 pivotPoint)
 
static Rect ScaleSizeBy (this Rect rect, Vector2 scale)
 
static Rect ScaleSizeBy (this Rect rect, Vector2 scale, Vector2 pivotPoint)
 

Member Function Documentation

◆ ScaleSizeBy() [1/4]

static Rect PixelCrushers.RectExtensions.ScaleSizeBy ( this Rect  rect,
float  scale 
)
inlinestatic

◆ ScaleSizeBy() [2/4]

static Rect PixelCrushers.RectExtensions.ScaleSizeBy ( this Rect  rect,
float  scale,
Vector2  pivotPoint 
)
inlinestatic

◆ ScaleSizeBy() [3/4]

static Rect PixelCrushers.RectExtensions.ScaleSizeBy ( this Rect  rect,
Vector2  scale 
)
inlinestatic

◆ ScaleSizeBy() [4/4]

static Rect PixelCrushers.RectExtensions.ScaleSizeBy ( this Rect  rect,
Vector2  scale,
Vector2  pivotPoint 
)
inlinestatic

◆ TopLeft()

static Vector2 PixelCrushers.RectExtensions.TopLeft ( this Rect  rect)
inlinestatic

The documentation for this class was generated from the following file: