blockly > minimalist > RenderInfo

minimalist.RenderInfo class

Use Blockly.blockRendering.RenderInfo instead. To be removed in v11.

An object containing all sizing information needed to draw this block.

This measure pass does not propagate changes to the block (although fields may choose to rerender when getSize() is called). However, calling it repeatedly may be expensive.

Signature:

export declare class RenderInfo extends BaseRenderInfo 

Extends: BaseRenderInfo

Constructors

Constructor Modifiers Description
(constructor)(renderer, block) Constructs a new instance of the RenderInfo class

Properties

Property Modifiers Type Description
renderer_ protected Renderer

Methods

Method Modifiers Description
getRenderer() Get the block renderer in use.