API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

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?: number
Destination height in local units. Defaults to source height.
offsetX?: number
Horizontal scroll offset in source-pixel units. Default: 0.
offsetY?: number
Vertical scroll offset in source-pixel units. Default: 0.
width?: number
Destination width in local units. Defaults to source width.
Source