API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceRepeatingSpriteOptions
@codexo/exojs / rendering / stable
Constructor options for RepeatingSprite.
8
props
0
methods
0
events
Import
import { RepeatingSpriteOptions } from '@codexo/exojs'Constructor options for RepeatingSprite.
Properties8
How the horizontal repeat fits the destination span. Default: 'round'.
How the vertical repeat fits the destination span. Default: 'round'.
height?: numberDestination height in local units. Defaults to source height.
Horizontal repeat mode. Default: 'repeat'.
Vertical repeat mode. Default: 'repeat'.
offsetX?: numberHorizontal scroll offset in source-pixel units. Default: 0.
offsetY?: numberVertical scroll offset in source-pixel units. Default: 0.
width?: numberDestination width in local units. Defaults to source width.
Source