Sequine - Scripting API
Calcatz.CookieCutter.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 Calcatz.CookieCutter.RectExtensions.ScaleSizeBy ( this Rect  rect,
float  scale 
)
static

◆ ScaleSizeBy() [2/4]

static Rect Calcatz.CookieCutter.RectExtensions.ScaleSizeBy ( this Rect  rect,
float  scale,
Vector2  pivotPoint 
)
static

◆ ScaleSizeBy() [3/4]

static Rect Calcatz.CookieCutter.RectExtensions.ScaleSizeBy ( this Rect  rect,
Vector2  scale 
)
static

◆ ScaleSizeBy() [4/4]

static Rect Calcatz.CookieCutter.RectExtensions.ScaleSizeBy ( this Rect  rect,
Vector2  scale,
Vector2  pivotPoint 
)
static

◆ TopLeft()

static Vector2 Calcatz.CookieCutter.RectExtensions.TopLeft ( this Rect  rect)
static