CanvasOperationFillTextAligned |
Type | statement |
Dictionary | LCB |
Library | LiveCode Builder |
Syntax | fill text <mText> at <mAlignment> of <mRect> on <mCanvas>
|
Associations | com.livecode.canvas |
Summary | Render filled text on a canvas.
|
Parameters | Name | Type | Description |
---|
mCanvas | | An expression which evaluates to a canvas.
|
mText | | An expression which evaluates to a string.
|
mRect | | An expression which evaluates to a rectangle.
|
|
Example |
set the font of this canvas to font "Helvetica"
fill text "Widget Label" at top left of rectangle [50, 100, 250, 200] on this canvas
|
Description | Renders mText aligned to the specified sides of mRect on mCanvas using the current font setting.
|
Tags | canvas |