Stay organized with collections Save and categorize content based on your preferences.

blockly > geras > RenderInfo

geras.RenderInfo class

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

Remarks

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the RenderInfo class.

Properties

Property Modifiers Type Description
constants_ ConstantProvider
renderer_

protected

readonly

Renderer

Methods

Method Modifiers Description
addElemSpacing_()
addInput_(input, activeRow)
alignRowElements_()
finalize_()
getDesiredRowWidth_(row)
getElemCenterline_(row, elem)
getInRowSpacing_(prev, next)
getSpacerRowHeight_(prev, next)
populateBottomRow_()