Method | Description | |
---|---|---|
Clone ( this target ) : CanvasRenderTarget | ||
CreateEmpty ( ICanvasResourceCreator device, |
||
CreateEmpty ( ICanvasResourceCreatorWithDpi device, |
||
DrawLine ( this target, Vector2 from, Vector2 to, Color color, float strokeWidth, CanvasStrokeStyle strokeStyle, float opacity ) : void | ||
EraseLine ( this target, Vector2 from, Vector2 to, float strokeWidth, CanvasStrokeStyle strokeStyle ) : void | ||
GetPixelColor ( this target, int left, int top ) : Color |
public static Clone ( this target ) : CanvasRenderTarget | ||
target | this | |
return | CanvasRenderTarget |
public static CreateEmpty ( ICanvasResourceCreator device, |
||
device | ICanvasResourceCreator | |
size | ||
dpi | float | |
return | CanvasRenderTarget |
public static CreateEmpty ( ICanvasResourceCreatorWithDpi device, |
||
device | ICanvasResourceCreatorWithDpi | |
size | ||
return | CanvasRenderTarget |
public static DrawLine ( this target, Vector2 from, Vector2 to, Color color, float strokeWidth, CanvasStrokeStyle strokeStyle, float opacity ) : void | ||
target | this | |
from | Vector2 | |
to | Vector2 | |
color | Color | |
strokeWidth | float | |
strokeStyle | CanvasStrokeStyle | |
opacity | float | |
return | void |
public static EraseLine ( this target, Vector2 from, Vector2 to, float strokeWidth, CanvasStrokeStyle strokeStyle ) : void | ||
target | this | |
from | Vector2 | |
to | Vector2 | |
strokeWidth | float | |
strokeStyle | CanvasStrokeStyle | |
return | void |
public static GetPixelColor ( this target, int left, int top ) : Color | ||
target | this | |
left | int | |
top | int | |
return | Color |