C# Class SkiaSharp.SKRect

Afficher le fichier Open project: prepare/HTML-Renderer Class Usage Examples

Méthodes publiques

Свойство Type Description
Empty SKRect

Méthodes publiques

Méthode Description
AspectFill ( SKSize size ) : SKRect
AspectFit ( SKSize size ) : SKRect
Contains ( SKPoint pt ) : bool
Contains ( SKRect rect ) : bool
Contains ( float x, float y ) : bool
Create ( SKPoint location, SKSize size ) : SKRect
Create ( SKSize size ) : SKRect
Create ( float width, float height ) : SKRect
Create ( float x, float y, float width, float height ) : SKRect
Equals ( object obj ) : bool
GetHashCode ( ) : int
Inflate ( SKRect rect, float x, float y ) : SKRect
Inflate ( SKSize size ) : void
Inflate ( float x, float y ) : void
Intersect ( SKRect a, SKRect b ) : SKRect
Intersect ( SKRect rect ) : void
IntersectsWith ( SKRect rect ) : bool
IntersectsWithInclusive ( SKRect rect ) : bool
Offset ( SKPoint pos ) : void
Offset ( float x, float y ) : void
SKRect ( float left, float top, float right, float bottom ) : System
ToString ( ) : string
Union ( SKRect a, SKRect b ) : SKRect
Union ( SKRect rect ) : void
operator ( ) : bool

Private Methods

Méthode Description
AspectResize ( SKSize size, bool fit ) : SKRect

Method Details

AspectFill() public méthode

public AspectFill ( SKSize size ) : SKRect
size SKSize
Résultat SKRect

AspectFit() public méthode

public AspectFit ( SKSize size ) : SKRect
size SKSize
Résultat SKRect

Contains() public méthode

public Contains ( SKPoint pt ) : bool
pt SKPoint
Résultat bool

Contains() public méthode

public Contains ( SKRect rect ) : bool
rect SKRect
Résultat bool

Contains() public méthode

public Contains ( float x, float y ) : bool
x float
y float
Résultat bool

Create() public static méthode

public static Create ( SKPoint location, SKSize size ) : SKRect
location SKPoint
size SKSize
Résultat SKRect

Create() public static méthode

public static Create ( SKSize size ) : SKRect
size SKSize
Résultat SKRect

Create() public static méthode

public static Create ( float width, float height ) : SKRect
width float
height float
Résultat SKRect

Create() public static méthode

public static Create ( float x, float y, float width, float height ) : SKRect
x float
y float
width float
height float
Résultat SKRect

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

Inflate() public static méthode

public static Inflate ( SKRect rect, float x, float y ) : SKRect
rect SKRect
x float
y float
Résultat SKRect

Inflate() public méthode

public Inflate ( SKSize size ) : void
size SKSize
Résultat void

Inflate() public méthode

public Inflate ( float x, float y ) : void
x float
y float
Résultat void

Intersect() public static méthode

public static Intersect ( SKRect a, SKRect b ) : SKRect
a SKRect
b SKRect
Résultat SKRect

Intersect() public méthode

public Intersect ( SKRect rect ) : void
rect SKRect
Résultat void

IntersectsWith() public méthode

public IntersectsWith ( SKRect rect ) : bool
rect SKRect
Résultat bool

IntersectsWithInclusive() public méthode

public IntersectsWithInclusive ( SKRect rect ) : bool
rect SKRect
Résultat bool

Offset() public méthode

public Offset ( SKPoint pos ) : void
pos SKPoint
Résultat void

Offset() public méthode

public Offset ( float x, float y ) : void
x float
y float
Résultat void

SKRect() public méthode

public SKRect ( float left, float top, float right, float bottom ) : System
left float
top float
right float
bottom float
Résultat System

ToString() public méthode

public ToString ( ) : string
Résultat string

Union() public static méthode

public static Union ( SKRect a, SKRect b ) : SKRect
a SKRect
b SKRect
Résultat SKRect

Union() public méthode

public Union ( SKRect rect ) : void
rect SKRect
Résultat void

operator() public static méthode

public static operator ( ) : bool
Résultat bool

Property Details

Empty public_oe static_oe property

public static SKRect,SkiaSharp Empty
Résultat SKRect