AppearancePatternProperties¶
Interface AppearancePatternProperties
interface AppearancePatternProperties {
backgroundColor?: [number, number, number, number];
distortRatio?: number;
distortStrength?: number;
foregroundColor?: [number, number, number, number];
name?: string;
offset?: [number, number];
rotation?: number;
scale?: number;
type?: AppearancePatternType;
weight?: number;
}
backgroundColor?: [number, number, number, number];
distortRatio?: number;
distortStrength?: number;
foregroundColor?: [number, number, number, number];
name?: string;
offset?: [number, number];
rotation?: number;
scale?: number;
type?: AppearancePatternType;
weight?: number;
}
Properties
Optionalbackground Color
backgroundColor?: [number, number, number, number]
Specifies the background color of the pattern as [R, G, B, A], each value in the range 0-1.
Optionaldistort Ratio
distortRatio?: number
Specifies an optional distortion ratio for the pattern in the range 0-∞.
Optionaldistort Strength
distortStrength?: number
Specifies an optional distortion strength for the pattern in the range 0-∞.
Optionalforeground Color
foregroundColor?: [number, number, number, number]
Specifies the foreground color of the pattern as [R, G, B, A], each value in the range 0-1.
Optionalname
name?: string
Specifies an optional name for the pattern.
Optionaloffset
offset?: [number, number]
Specifies an optional x/y offset for the pattern as [x, y].
Optionalrotation
rotation?: number
Specifies an optional rotation of the pattern in radians.
Optionalscale
scale?: number
Specifies the scale of the pattern. A value of 0.25 results in 4 checkerboard tiles horizontally.
Optionaltype
Specifies the type of the pattern to be used.
Optionalweight
weight?: number
Specifies an optional weight for the pattern in the range 0-1.
The properties of an appearance pattern entity in the webvis context.
See
AppearancePatternAPI