IHTMLRuleStyle7::strokeMiterlimit Property
[This documentation is preliminary and is subject to change.]
Gets or sets a value that indicates the limit on the ratio of the length of miter joins (as specified in the IHTMLRuleStyle7::strokeLinejoin property).
Syntax
HRESULT IHTMLRuleStyle7::get_strokeMiterlimit(float *p); HRESULT IHTMLRuleStyle7::put_strokeMiterlimit(float v);
Parameters
- p
Pointer to a variable of type float that receives one of the values listed in Possible Values.- v
float that specifies one of the values listed in Possible Values.
Possible Values
inherit The property takes the same computed value as the property for the element's parent. miterlimit The limit on the ratio of the miter length to the value of the IHTMLRuleStyle7::strokeWidth property. The value of miterlimit must be a number that is greater than or equal to 1. Any other value is an error.
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
The ratio of miter length (distance between the outer tip and the inner corner of the miter) to IHTMLRuleStyle7::strokeWidth is directly related to the angle (theta) between the segments in user space by the formula:
miterLength / stroke-width = 1 / sin ( theta / 2 )
See Also
IHTMLRuleStyle7::stroke, IHTMLRuleStyle7::strokeDasharray, IHTMLRuleStyle7::strokeDashoffset, IHTMLRuleStyle7::strokeLinecap, IHTMLRuleStyle7::strokeLinejoin, IHTMLRuleStyle7::strokeOpacity, IHTMLRuleStyle7::strokeWidth