x2 property

Gets or sets the absolute or relative x-coordinate for the second control point.

 

Syntax

HRESULT value = object.put_x2( v);HRESULT value = object.get_x2(* p);

Property values

Type: float

The absolute or relative x-coordinate for the second control point.

Exceptions

Exception Condition
NoModificationAllowedError

An attempt is made to modify an object that cannot be changed. For versions earlier than Internet Explorer 10, NO_MODIFICATION_ALLOWED_ERR is returned.

 

Standards information

Remarks

The ISVGPathSegCurvetoCubicSmoothRel::x2 property represents a relative coordinate for lowercase path commands (for example, q and c), and an absolute coordinate for uppercase path commands (for example, Q and C.)