Skip to main content

setBlockFill

Use this method to draw a selected vector block using a different color or fill pattern created with addFill.

Syntax

RxCore.setBlockFill(blockid, name, override)

Parameters

  • blockid: number — Block ID of the block to change.
  • name: string — Name of the fill object to apply to the block.
  • override: boolean — If false, resets the color to the original block color.

Returns

  • NA — This method does not return a value.