Gets or sets a value that indicates an angle unit.
HRESULT ISVGPathSegArcRel::get_angle(float *p);HRESULT ISVGPathSegArcRel::put_angle(float v);
- Pointer to a variable of type float that receives one of the values listed in Possible Values.
- float that specifies one of the values listed in Possible Values.
SVG_ANGLETYPE_UNKNOWN The unit type is not one of the predefined unit types.Note Do not try to define a new value of this type or try to switch an existing value to this type. SVG_ANGLETYPE_UNSPECIFIED No unit type is provided (that is, a value without units is specified). For angles, a value without units is treated the same as if degrees are specified. SVG_ANGLETYPE_DEG Default. The unit type is degrees. SVG_ANGLETYPE_RAD The unit type is radians (360° = 2p radians). SVG_ANGLETYPE_GRAD The unit type is gradians (360° = 400 grads).
Returns S_OK if successful, or an error value otherwise.
For angle values in properties and their corresponding presentation attributes, the angle unit identifier is optional. If you do not the identifier, the angle value is treated as if it is in degrees. If you provide the identifier, the angle unit identifier must be in lowercase.
When you use angles in an SVG attribute, the ISVGPathSegArcRel::angle property is defined as
gradfor gradians, or