drawTrapezoid

open fun drawTrapezoid(part: RenderPart, y1: <Error class: unknown class>, x11: <Error class: unknown class>, x21: <Error class: unknown class>, y2: <Error class: unknown class>, x12: <Error class: unknown class>, x22: <Error class: unknown class>)

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

Since

1.8

Parameters

part

type of object this trapezoid is part of

y1

Y coordinate of top of trapezoid

x11

X coordinate of left end of top of trapezoid

x21

X coordinate of right end of top of trapezoid

y2

Y coordinate of bottom of trapezoid

x12

X coordinate of left end of bottom of trapezoid

x22

X coordinate of right end of bottom of trapezoid