API reference

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

I

interfaceRepeatSegment

@codexo/exojs / rendering / stable

A single placement segment produced by the repeat planner. Each segment describes one contiguous destination slice and the corresponding normalised source texel interval.

5
props
0
methods
0
events
Import
import { RepeatSegment } from '@codexo/exojs'

A single placement segment produced by the repeat planner.

Each segment describes one contiguous destination slice and the corresponding normalised source texel interval.

Properties5
destinationLength: number
Length of this segment in destination units.
destinationStart: number
Start position of this segment within the destination span.
mirrored: boolean
true when this segment should be rendered with mirrored (flipped) orientation. Always consistent with sourceStart > sourceEnd.
sourceEnd: number
Normalised source end coordinate (0..1 range in logical source space). For mirrored segments this is less than sourceStart.
sourceStart: number
Normalised source start coordinate (0..1 range in logical source space). For mirrored segments this is greater than sourceEnd.
Source