ILayoutBlock

Represents a laid out text of a single page that can be rendered using a IRenderingContext2D.

Members

Functions

filledHeight
float filledHeight()

Return the size of the area that will be filled with content when rendering.

filledWidth
float filledWidth()

Return the size of the area that will be filled with content when rendering.

renderWith
void renderWith(IRenderingContext2D renderer, float x, float y)

Render this layout block with renderer and an offset of given by x and y.

textHeight
float textHeight()

Return the text size that was in effect when this layout was created.

textWidth
float textWidth()

Return the text size that was in effect when this layout was created.

Meta