y1 property
[This documentation is preliminary and is subject to change.]
Gets or sets the y-coordinate for the begining of a gradient vector.
![]() ![]() |
Syntax
HRESULT value = object.put_y1(float v);HRESULT value = object.get_y1(float* p);
Property values
Type: float
The y-coordinate for the begining of the gradient vector.
Standards information
- Scalable Vector Graphics: Gradients and Patterns, Section 13.4.2
Remarks
The x1, y1, x2, and 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 x1, y1, x2, and 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%.
Build date: 1/26/2012
.png)
.png)