Datasheet
EA uniTFT Vorläufig
DRAWING/GRAPHIC PRIMITIVES
Parameters that are written in GREY in the command tables are considered optional details, and partially have default values. The default values are
given in brackets behind the corresponding parameters. Parameters written in BLACK on the other hand, must be assigned values. Commands that
may contribute towards changing parameters can only be used if the corresponding parameters have already previouslybeen defined. Some com-
mands allow for entering several object IDs. Should these objects be in numerical sequence, the range may be specified with the “-” sign, e.g. 1-5, instead
of 1,2,3,4,5.
Designition Command code Description
Rectangle #GRR Object-id, Drawstyle-nr, PosX, PosY,
Anchor, Width, Height(same as
Width), Radius(0), BorderWidth(0),
Angle(0)
Defines as an object Object ID a rectangle,
depending upon the drawing style Drawing
Style No., the position PosX, PosY, the
anchor Anchor, (0...9), the width Width (in
pixels), the height Height (in pixels), the ra-
dius for the corners Radius (in pixels), the
border width BorderWidth, (0...100) and
the angle Angle (0...360). In order to be ab-
le to use this command, it is necessary to
define a drawing style style in advance.
Example
Draw polyline #GPL Object-id, Drawstyle-nr, PosX, PosY,
PosX2, PosY2, PosX3, PosY3, ...
Defines as an object, Object ID a polyline,
depending upon the drawing style, Dra-
wing Style No. and the corresponding po-
sition points PosX, PosY. To use the
command, a drawing style needs to have
been defined in advance.
Beispiel siehe S. 124
Polygon(filled in) #GPF Object-id, Drawstyle-nr, PosX, PosY,
PosX2, PosY2, PosX3, PosY3, ...,
autoclose polygon
Defines as an object, Object ID a filled-in
polygon, depending upon the drawing style,
Drawing Style No. and the position points
PosX, PosY. To use the command, a dra-
wing style needs to have been defined in ad-
vance. The polygon is automatically
concluded after the last position value.
Beispiel siehe S. 124
Extend a polyline/polygon #GPA Object-id, PosX, PosY, PosX2,
PosY2, ...
Adds additional positions PosX, PosY to
the object, Object ID, of #GPF and #GPL .
Beispiel siehe S. 124
Polypath segment #GPP Object-id, Drawstyle-nr, PosX, PosY,
Segment1, Segment2, ...
Defines as an object, Object ID a filled-in
polygon, depending upon the drawing style,
Drawing Style No., the position points,
PosX, PosY and the individual segments
Segment. These also allow for having
round shapes. To use the command, a dra-
wing style needs to have been defined in ad-
vance.
Beispiel siehe S. 125
Technische Änderung vorbehalten.
Wir übernehmen keine Haftung für Druckfehler und Applikationsbeispiele..
Seite 55