ImageSourceProps
Extends
Omit<ImageProps,"image">
Properties
antiAlias?
optional antiAlias?: boolean;Inherited from
blendMode?
optional blendMode?: BlendMode;How this drawing composites onto what is already there. 'srcOver' by default.
Inherited from
children?
optional children?: ReactNode;Inherited from
color?
optional color?: Animated<Color>;Inherited from
fit?
optional fit?: Fit;Defaults to 'contain'. Same semantics as Skia's fit.
Inherited from
height
height: Animated<number>;Inherited from
opacity?
optional opacity?: Animated<number>;Paint-wide alpha multiplier in [0, 1]; only one per chain can animate.
Inherited from
rect?
optional rect?: SrcRect;Source sub-rect, in image pixels - animatable, for sprite-sheet stepping.
Inherited from
ref?
optional ref?: NodeHandle;A handle from useNode(), for changing this node without a React render.
See NodeHandle.
Inherited from
sampling?
optional sampling?: Sampling;Defaults to 'linear'. Use 'mipmap' for large images in small boxes.
Inherited from
source
source: string | number;A require()'d asset, a file path or URI, SVG markup, or base64 bytes.
strokeCap?
optional strokeCap?: "butt" | "round" | "square";Inherited from
strokeJoin?
optional strokeJoin?: "round" | "miter" | "bevel";Inherited from
strokeMiter?
optional strokeMiter?: Animated<number>;Past this length-over-width ratio a 'miter' join falls back to bevel. Defaults to 4.
Inherited from
strokeWidth?
optional strokeWidth?: Animated<number>;Inherited from
style?
optional style?: "fill" | "stroke";'fill' (default) or 'stroke'.
Inherited from
visible?
optional visible?: Animated<number | boolean>;Skip drawing (and hit-testing) this node. A value slot, so a handle or a SharedValue toggles it with no re-encode - the supported way to pool mounted nodes for particle systems and variable-count scenes.
Inherited from
width
width: Animated<number>;Inherited from
x
x: Animated<number>;Inherited from
y
y: Animated<number>;