ICanvasRenderingContext2DStrokeText Method (String, Double, Double) |
Draws (strokes) a given text at the given (x, y) position.
Namespace: Aspose.Html.Dom.CanvasAssembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.3
Syntax void StrokeText(
string text,
double x,
double y
)
Sub StrokeText (
text As String,
x As Double,
y As Double
)
void StrokeText(
String^ text,
double x,
double y
)
abstract StrokeText :
text : string *
x : float *
y : float -> unit
Parameters
- text
- Type: SystemString
The text to draw using the current font, textAlign, textBaseline, and direction values. - x
- Type: SystemDouble
The x axis of the coordinate for the text starting point. - y
- Type: SystemDouble
The y axis of the coordinate for the text starting point.
See Also