Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

x1 property

Gets or sets the x-coordinate for the begining of a gradient vector.

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

 

Syntax

HRESULT value = object.put_x1( v);HRESULT value = object.get_x1(* p);

Property values

Type: float

The x-coordinate for the begining 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%.

 

 

Community Additions

ADD
Show:
© 2015 Microsoft