PgRenderer.drawTrapezoid

Draws a trapezoid with the parallel sides aligned with the X axis using the given PangoRenderer; coordinates are in device space.

class PgRenderer
void
drawTrapezoid
(,
double y1
,
double x11
,
double x21
,
double y2
,
double x12
,
double x22
)

Parameters

part PangoRenderPart

type of object this trapezoid is part of

y1 double

Y coordinate of top of trapezoid

x11 double

X coordinate of left end of top of trapezoid

x21 double

X coordinate of right end of top of trapezoid

y2 double

Y coordinate of bottom of trapezoid

x12 double

X coordinate of left end of bottom of trapezoid

x22 double

X coordinate of right end of bottom of trapezoid

Meta