Methods
Declaration
Parameters
| Type |
Name |
Description |
| Path |
path |
|
Declaration
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
Declaration
void clipRRect(RRect rrect)
Parameters
| Type |
Name |
Description |
| RRect |
rrect |
|
Declaration
void concat(Matrix3 matrix)
Parameters
| Type |
Name |
Description |
| Matrix3 |
matrix |
|
Declaration
void drawArc(Rect rect, float startAngle, float sweepAngle, bool useCenter, Paint paint)
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| System.Single |
startAngle |
|
| System.Single |
sweepAngle |
|
| System.Boolean |
useCenter |
|
| Paint |
paint |
|
Declaration
void drawCircle(Offset c, float radius, Paint paint)
Parameters
| Type |
Name |
Description |
| Offset |
c |
|
| System.Single |
radius |
|
| Paint |
paint |
|
Declaration
void drawDRRect(RRect outer, RRect inner, Paint paint)
Parameters
Declaration
void drawImage(Image image, Offset offset, Paint paint)
Parameters
Declaration
void drawImageNine(Image image, Rect center, Rect dst, Paint paint)
Parameters
Declaration
void drawImageNine(Image image, Rect src, Rect center, Rect dst, Paint paint)
Parameters
Declaration
void drawImageRect(Image image, Rect dst, Paint paint)
Parameters
Declaration
void drawImageRect(Image image, Rect src, Rect dst, Paint paint)
Parameters
Declaration
void drawLine(Offset from, Offset to, Paint paint)
Parameters
Declaration
void drawOval(Rect rect, Paint paint)
Parameters
Declaration
void drawParagraph(Paragraph paragraph, Offset offset)
Parameters
Declaration
void drawPath(Path path, Paint paint)
Parameters
Declaration
void drawPicture(Picture picture)
Parameters
| Type |
Name |
Description |
| Picture |
picture |
|
Declaration
void drawRect(Rect rect, Paint paint)
Parameters
Declaration
void drawRRect(RRect rect, Paint paint)
Parameters
Declaration
void drawShadow(Path path, Color color, float elevation, bool transparentOccluder)
Parameters
| Type |
Name |
Description |
| Path |
path |
|
| Color |
color |
|
| System.Single |
elevation |
|
| System.Boolean |
transparentOccluder |
|
drawTextBlob(TextBlob, Offset, Paint)
Declaration
void drawTextBlob(TextBlob textBlob, Offset offset, Paint paint)
Parameters
Declaration
Declaration
float getDevicePixelRatio()
Returns
| Type |
Description |
| System.Single |
|
Declaration
Returns
| Type |
Description |
| System.Int32 |
|
Declaration
Returns
Declaration
Declaration
Declaration
Declaration
void rotate(float radians, Offset offset = null)
Parameters
| Type |
Name |
Description |
| System.Single |
radians |
|
| Offset |
offset |
|
Declaration
Declaration
void saveLayer(Rect bounds, Paint paint = null)
Parameters
| Type |
Name |
Description |
| Rect |
bounds |
|
| Paint |
paint |
|
Declaration
void scale(float sx, float? sy = default(float? ))
Parameters
| Type |
Name |
Description |
| System.Single |
sx |
|
| System.Nullable<System.Single> |
sy |
|
Declaration
void setMatrix(Matrix3 matrix)
Parameters
| Type |
Name |
Description |
| Matrix3 |
matrix |
|
Declaration
void skew(float sx, float sy)
Parameters
| Type |
Name |
Description |
| System.Single |
sx |
|
| System.Single |
sy |
|
Declaration
void translate(float dx, float dy)
Parameters
| Type |
Name |
Description |
| System.Single |
dx |
|
| System.Single |
dy |
|