CanvasOperationFillText

Typestatement
DictionaryLCB
LibraryLiveCode Builder
Syntax
fill text <mText> at <mPoint> on <mCanvas>
Associationscom.livecode.canvas
Summary

Render filled text on a canvas.

Parameters
NameTypeDescription
mCanvas

An expression which evaluates to a canvas.

mText

An expression which evaluates to a string.

mPoint

An expression which evaluates to a point.

Example
// Set the canvas font
set the font of this canvas to font "Helvetica"

// Draw the text
fill text "Widget Label" at point [50,50] on this canvas
Description

Renders mText at mPoint on mCanvas using the current font setting.

Tagscanvas