Interface: AlignmentManagerOptions
Defined in: src/display/alignment/AlignmentManager.ts:26
Alignment options
Extends
Properties
strategy?
optional strategy?: AlignmentStrategyType;Defined in: src/display/alignment/AlignmentManager.ts:28
Strategy to use for alignment
enableCache?
optional enableCache?: boolean;Defined in: src/display/alignment/AlignmentManager.ts:30
Whether to cache alignment results
maintainAspectRatio?
optional maintainAspectRatio?: boolean;Defined in: src/display/alignment/IAlignmentStrategy.ts:37
Whether to maintain aspect ratio
Inherited from
AlignmentOptions.maintainAspectRatio
anchor?
optional anchor?: object;Defined in: src/display/alignment/IAlignmentStrategy.ts:39
Anchor point for alignment (0-1 for each axis)
x
x: number;y
y: number;Inherited from
allowRotation?
optional allowRotation?: boolean;Defined in: src/display/alignment/IAlignmentStrategy.ts:41
Whether to allow rotation for better alignment
Inherited from
AlignmentOptions.allowRotation
maxScale?
optional maxScale?: number;Defined in: src/display/alignment/IAlignmentStrategy.ts:43
Maximum scale factor to prevent excessive upscaling
Inherited from
minScale?
optional minScale?: number;Defined in: src/display/alignment/IAlignmentStrategy.ts:45
Minimum scale factor to prevent excessive downscaling