DiGrande.it

Blind, Braille and Embossing Technologies

This site uses cookies to personalize content and ads, provide social media features and analyze links. By closing this banner or continuing to browse, you consent to their use.
Read the DiGrande.it Cookie Policy

Text- Draws a text

Draws a text in the graph.

- Text(T,X,Y,HS)

Parameters:

- (string) T: Text string to be drawn;

- (int) X: horizontal coordinate on which the drawing is based;

- (int) Y: vertical coordinate on which the drawing is based;

- (int) HS: Text origin point. It can have the following values:

hsTopLeft: Start point in the top left corner;

hsTopCenter: Start point at the top center;

hsTopRight: Start point in the upper right corner;

hsMidLeft: Start point in the middle on the left;

hsMidCenter: Start point in the middle of the center;

hsMidRight: Start point in the middle right;

hsBotLeft: Start point in the bottom left corner;

hsBotCenter: Start point at the bottom center;

hsBotRight: Start point in the bottom right corner.

Description:

Use Text to draw text in common characters. The text drawing T is defined by the X Y point and the HS parameter, which defines the origin point of the drawing.

The text is drawn using the current pen color and the default font type from the Font instruction.

Drawing with the mouse:

From the drawing context menu choose Text. Move your pointer to the point where you want to fix the origin point of the text design and press the left button. The text input wizard window opens, with the X Y coordinates already set, from which you enter the text to draw and choose the origin point.