drawRectangle

open fun drawRectangle(part: RenderPart, x: <Error class: unknown class>, y: <Error class: unknown class>, width: <Error class: unknown class>, height: <Error class: unknown class>)

Draws an axis-aligned rectangle in user space coordinates with the specified PangoRenderer.

This should be called while @renderer is already active. Use method@Pango.Renderer.activate to activate a renderer.

Since

1.8

Parameters

part

type of object this rectangle is part of

x

X position at which to draw rectangle, in user space coordinates in Pango units

y

Y position at which to draw rectangle, in user space coordinates in Pango units

width

width of rectangle in Pango units

height

height of rectangle in Pango units