C# Class CrossUI.DrawingBackendExtensions

Show file Open project: pragmatrix/CrossUI

Public Methods

Method Description
Ellipse ( this backend, Rectangle rectangle ) : IGeometry
Ellipse ( this backend, double x, double y, double width, double height ) : IGeometry
Geometry ( this backend, Action geometryBuilder ) : IGeometry
Line ( this backend, Point from, Point to ) : IGeometry
Line ( this backend, double x1, double y1, double x2, double y2 ) : IGeometry
Polygon ( this backend ) : IGeometry
Rectangle ( this backend, Rectangle rectangle ) : IGeometry
Rectangle ( this backend, double x, double y, double width, double height ) : IGeometry
RoundedRectangle ( this backend, Rectangle rectangle, double cornerRadius ) : IGeometry
RoundedRectangle ( this backend, double x, double y, double width, double height, double cornerRadius ) : IGeometry

Method Details

Ellipse() public static method

public static Ellipse ( this backend, Rectangle rectangle ) : IGeometry
backend this
rectangle Rectangle
return IGeometry

Ellipse() public static method

public static Ellipse ( this backend, double x, double y, double width, double height ) : IGeometry
backend this
x double
y double
width double
height double
return IGeometry

Geometry() public static method

public static Geometry ( this backend, Action geometryBuilder ) : IGeometry
backend this
geometryBuilder Action
return IGeometry

Line() public static method

public static Line ( this backend, Point from, Point to ) : IGeometry
backend this
from Point
to Point
return IGeometry

Line() public static method

public static Line ( this backend, double x1, double y1, double x2, double y2 ) : IGeometry
backend this
x1 double
y1 double
x2 double
y2 double
return IGeometry

Polygon() public static method

public static Polygon ( this backend ) : IGeometry
backend this
return IGeometry

Rectangle() public static method

public static Rectangle ( this backend, Rectangle rectangle ) : IGeometry
backend this
rectangle Rectangle
return IGeometry

Rectangle() public static method

public static Rectangle ( this backend, double x, double y, double width, double height ) : IGeometry
backend this
x double
y double
width double
height double
return IGeometry

RoundedRectangle() public static method

public static RoundedRectangle ( this backend, Rectangle rectangle, double cornerRadius ) : IGeometry
backend this
rectangle Rectangle
cornerRadius double
return IGeometry

RoundedRectangle() public static method

public static RoundedRectangle ( this backend, double x, double y, double width, double height, double cornerRadius ) : IGeometry
backend this
x double
y double
width double
height double
cornerRadius double
return IGeometry