C# Class SkiaSharp.SKRectI

Show file Open project: prepare/HTML-Renderer Class Usage Examples

Public Properties

Property Type Description
Empty SKRectI

Public Methods

Method Description
AspectFill ( SKSizeI size ) : SKRectI
AspectFit ( SKSizeI size ) : SKRectI
Ceiling ( SKRect value ) : SKRectI
Contains ( SKPointI pt ) : bool
Contains ( SKRectI rect ) : bool
Contains ( int x, int y ) : bool
Create ( SKPointI location, SKSizeI size ) : SKRectI
Create ( SKSizeI size ) : SKRectI
Create ( int width, int height ) : SKRectI
Create ( int x, int y, int width, int height ) : SKRectI
Equals ( object obj ) : bool
GetHashCode ( ) : int
Inflate ( SKRectI rect, int x, int y ) : SKRectI
Inflate ( SKSizeI size ) : void
Inflate ( int width, int height ) : void
Intersect ( SKRectI a, SKRectI b ) : SKRectI
Intersect ( SKRectI rect ) : void
IntersectsWith ( SKRectI rect ) : bool
Offset ( SKPointI pos ) : void
Offset ( int x, int y ) : void
Round ( SKRect value ) : SKRectI
SKRectI ( int left, int top, int right, int bottom ) : System
ToString ( ) : string
Truncate ( SKRect value ) : SKRectI
Union ( SKRectI a, SKRectI b ) : SKRectI
Union ( SKRectI rect ) : void
operator ( ) : bool

Private Methods

Method Description
IntersectsWithInclusive ( SKRectI r ) : bool

Method Details

AspectFill() public method

public AspectFill ( SKSizeI size ) : SKRectI
size SKSizeI
return SKRectI

AspectFit() public method

public AspectFit ( SKSizeI size ) : SKRectI
size SKSizeI
return SKRectI

Ceiling() public static method

public static Ceiling ( SKRect value ) : SKRectI
value SKRect
return SKRectI

Contains() public method

public Contains ( SKPointI pt ) : bool
pt SKPointI
return bool

Contains() public method

public Contains ( SKRectI rect ) : bool
rect SKRectI
return bool

Contains() public method

public Contains ( int x, int y ) : bool
x int
y int
return bool

Create() public static method

public static Create ( SKPointI location, SKSizeI size ) : SKRectI
location SKPointI
size SKSizeI
return SKRectI

Create() public static method

public static Create ( SKSizeI size ) : SKRectI
size SKSizeI
return SKRectI

Create() public static method

public static Create ( int width, int height ) : SKRectI
width int
height int
return SKRectI

Create() public static method

public static Create ( int x, int y, int width, int height ) : SKRectI
x int
y int
width int
height int
return SKRectI

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

Inflate() public static method

public static Inflate ( SKRectI rect, int x, int y ) : SKRectI
rect SKRectI
x int
y int
return SKRectI

Inflate() public method

public Inflate ( SKSizeI size ) : void
size SKSizeI
return void

Inflate() public method

public Inflate ( int width, int height ) : void
width int
height int
return void

Intersect() public static method

public static Intersect ( SKRectI a, SKRectI b ) : SKRectI
a SKRectI
b SKRectI
return SKRectI

Intersect() public method

public Intersect ( SKRectI rect ) : void
rect SKRectI
return void

IntersectsWith() public method

public IntersectsWith ( SKRectI rect ) : bool
rect SKRectI
return bool

Offset() public method

public Offset ( SKPointI pos ) : void
pos SKPointI
return void

Offset() public method

public Offset ( int x, int y ) : void
x int
y int
return void

Round() public static method

public static Round ( SKRect value ) : SKRectI
value SKRect
return SKRectI

SKRectI() public method

public SKRectI ( int left, int top, int right, int bottom ) : System
left int
top int
right int
bottom int
return System

ToString() public method

public ToString ( ) : string
return string

Truncate() public static method

public static Truncate ( SKRect value ) : SKRectI
value SKRect
return SKRectI

Union() public static method

public static Union ( SKRectI a, SKRectI b ) : SKRectI
a SKRectI
b SKRectI
return SKRectI

Union() public method

public Union ( SKRectI rect ) : void
rect SKRectI
return void

operator() public static method

public static operator ( ) : bool
return bool

Property Details

Empty public static property

public static SKRectI,SkiaSharp Empty
return SKRectI