Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

y2 property

Gets or sets the y-coordinate for the end of a gradient vector.

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

Syntax

HRESULT value = object.put_y2( v);HRESULT value = object.get_y2(* p);

Property values

Type: float

The y-coordinate for the end of the gradient vector.

Standards information

Remarks

The ISVGLinearGradientElement::x1, ISVGLinearGradientElement::y1, ISVGLinearGradientElement::x2, and ISVGLinearGradientElement::y2 properties define a gradient vector for a linear gradient. This gradient vector provides the starting and ending points that the gradient stops are mapped onto. The values of ISVGLinearGradientElement::x1, ISVGLinearGradientElement::y1, ISVGLinearGradientElement::x2, and ISVGLinearGradientElement::y2 can be either numbers or percentages.

If you do not specify this property, the effect is the same as if you specify a value of 0%.

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.