Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
offset
Collapse the table of content
Expand the table of content

offset property

Gets or sets a value that indicates where the gradient stop is placed within the gradient.

Scalable Vector Graphics: Gradients and Patterns, Section 13.4.4Internet Explorer 9

 

Syntax

HRESULT value = object.put_offset(ISVGAnimatedNumber* v);HRESULT value = object.get_offset(ISVGAnimatedNumber** p);

Property values

Type: Object

The location of the gradient stop.

Standards information

Remarks

The offset is a number (typically ranging from 0 through 1) that indicates where the gradient stop is placed. For linear gradients, the offset represents a location along the gradient vector. For radial gradients, the offset represents a percentage distance from the (ISVGRadialGradientElement::fx,ISVGRadialGradientElement::fy) point to the edge of the largest (that is, outermost) circle.

 

 

Community Additions

ADD
Show:
© 2015 Microsoft