in attribute | in1 property
Identifies input for the given filter primitive.
This property is read-only.
<element in="value" ... >
value = object.in1
Can be one of the following values:
Represents the graphics elements that were the original input into the filter element. For raster effects filter primitives, the graphics elements will be rasterized into an initially clear RGBA raster in image space. Pixels left untouched by the original graphic will be left clear. The image is specified to be rendered in linear RGBA pixels. The alpha channel of this image captures any anti-aliasing specified by SVG. (Since the raster is linear, the alpha channel of this image will represent the exact percent coverage of each pixel.)
Represents the graphics elements that were the original input into the filter element.
Represents an image snapshot of the canvas under the filter region at the time that the filter element was invoked.
Represents the value of the fill property on the target element for the filter effect. The
Represents the value of the stroke property on the target element for the filter effect. The
If applicable, this filter primitive will use the result from the previous filter primitive as its input.
- Scalable Vector Graphics: Filter Effects, Section 15.7.2
Identifies input for the given filter primitive. The value can be either one of six keywords (see above) or can be a string which matches a previous
result attribute value within the same filter element. If no value is provided and this is the first filter primitive, then this filter primitive will use
SourceGraphic as its input. If no value is provided and this is a subsequent filter primitive, then this filter primitive will use the result from the previous filter primitive as its input.
If the value for
result appears multiple times within a given filter element, then a reference to that result will use the closest preceding filter primitive with the given value for attribute
result. Forward references to results are an error.