EN
このコンテンツは設定された言語で表示できません。英語版のページが表示されます。

primitiveUnits attribute | primitiveUnits property

Specifies the coordinate system for the various length values within the filter primitives and for the attributes that define the filter primitive subregion. The filter primitives identify a subregion which restricts calculation and rendering of the given filter primitive. The default filter primitive subregion is equal to the filter region. If primitiveUnits="userSpaceOnUse", all attributes represent values in the current user coordinate system that is in place at the time when the filter is referenced. If primitiveUnits="objectBoundingBox", then all attributes represent fractions or percentages of the bounding box on the referencing element. If attribute primitiveUnits is not specified, then the effect is the same as specifying a value of "objectBoundingBox".

This property is read-only.

Scalable Vector Graphics: Filter Effects, Section 15.25.1Internet Explorer 10

Syntax

HTML
<element primitiveUnits="primitiveUnits" ... >
JavaScript
primitiveUnits = object.primitiveUnits

Property values

Type: SVGAnimatedEnumeration

One of the following:

ValueCondition
userSpaceOnUse
userSpaceOnUse

Indicates that all attributes represent values in the current user coordinate system that is in place at the time when the filter is referenced.

objectBoundingBox
objectBoundingBox

Indicates that all attributes represent fractions or percentages of the bounding box on the referencing element.

 

Standards information

See also

SVGFilterElement

 

 

表示:
© 2014 Microsoft