mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-04 09:06:04 +02:00
Fix "Smooth quadratic Bezier curve Command" syntax (#1125)
According to the source code of WPF, we can know that the `T` command only receives one parameter which is the `endPoint`. The `controlPoint` argument is automatically calculated by the reflection of the last control point. So the previous version of this doc has error in `T` and I'm fixing it in this pull request.
This commit is contained in:
@@ -159,11 +159,10 @@ An uppercase `V` indicates that `y` is an absolute value; a lowercase `v` indica
|
|||||||
|
|
||||||
|Syntax|
|
|Syntax|
|
||||||
|------------|
|
|------------|
|
||||||
|`T` `controlPoint` `endPoint`<br /><br /> - or -<br /><br /> `t` `controlPoint` `endPoint`|
|
|`T` `endPoint`<br /><br /> - or -<br /><br /> `t` `endPoint`|
|
||||||
|
|
||||||
|Term|Description|
|
|Term|Description|
|
||||||
|----------|-----------------|
|
|----------|-----------------|
|
||||||
|`controlPoint`|<xref:System.Windows.Point?displayProperty=nameWithType><br /><br /> The control point of the curve, which determines the starting and tangent of the curve.|
|
|
||||||
|`endPoint`|<xref:System.Windows.Point?displayProperty=nameWithType><br /><br /> The point to which the curve is drawn.|
|
|`endPoint`|<xref:System.Windows.Point?displayProperty=nameWithType><br /><br /> The point to which the curve is drawn.|
|
||||||
|
|
||||||
### Elliptical Arc Command
|
### Elliptical Arc Command
|
||||||
|
|||||||
Reference in New Issue
Block a user