You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Plotly.NET/Layout/ObjectAbstractions/Common/Shape.fs
+6
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ type Shape() =
15
15
/// <param name="Editable">Determines whether the shape could be activated for edit or not. Has no effect when the older editable shapes mode is enabled via `config.editable` or `config.edits.shapePosition`.</param>
16
16
/// <param name="FillColor">Sets the color filling the shape's interior. Only applies to closed shapes.</param>
17
17
/// <param name="FillRule">Determines which regions of complex paths constitute the interior. For more info please visit https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-rule</param>
18
+
/// <param name="Label">The text label of this shape.</param>
18
19
/// <param name="Layer">Specifies whether shapes are drawn below or above traces.</param>
19
20
/// <param name="Line">Sets the Shape outline</param>
20
21
/// <param name="Name">When used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: false` or `enabled: false` to hide it). Has no effect outside of a template.</param>
/// <param name="Editable">Determines whether the shape could be activated for edit or not. Has no effect when the older editable shapes mode is enabled via `config.editable` or `config.edits.shapePosition`.</param>
89
92
/// <param name="FillColor">Sets the color filling the shape's interior. Only applies to closed shapes.</param>
90
93
/// <param name="FillRule">Determines which regions of complex paths constitute the interior. For more info please visit https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill-rule</param>
94
+
/// <param name="Label">The text label of this shape.</param>
91
95
/// <param name="Layer">Specifies whether shapes are drawn below or above traces.</param>
92
96
/// <param name="Line">Sets the Shape outline</param>
93
97
/// <param name="Name">When used in a template, named items are created in the output figure in addition to any items the figure already has in this array. You can modify these items in the output figure by making your own item with `templateitemname` matching this `name` alongside your modifications (including `visible: false` or `enabled: false` to hide it). Has no effect outside of a template.</param>
/// Returns a new ShapeLabel object with the given styling.
17
+
/// </summary>
18
+
/// <param name="Font">Sets the shape label text font.</param>
19
+
/// <param name="Padding">Sets padding (in px) between edge of label and edge of shape.</param>
20
+
/// <param name="Text">Sets padding (in px) between edge of label and edge of shape.</param>
21
+
/// <param name="TextAngle">Sets padding (in px) between edge of label and edge of shape.</param>
22
+
/// <param name="TextPosition">Sets the position of the label text relative to the shape. Supported values for rectangles, circles and paths are "top left", "top center", "top right", "middle left", "middle center", "middle right", "bottom left", "bottom center", and "bottom right". Supported values for lines are "start", "middle", and "end". Default: "middle center" for rectangles, circles, and paths; "middle" for lines.</param>
23
+
/// <param name="XAnchor">Sets the label's horizontal position anchor This anchor binds the specified `textposition` to the "left", "center" or "right" of the label text. For example, if `textposition` is set to "top right" and `xanchor` to "right" then the right-most portion of the label text lines up with the right-most edge of the shape.</param>
24
+
/// <param name="YAnchor">Sets the label's vertical position anchor This anchor binds the specified `textposition` to the "top", "middle" or "bottom" of the label text. For example, if `textposition` is set to "top right" and `yanchor` to "top" then the top-most portion of the label text lines up with the top-most edge of the shape.</param>
/// Returns a function that applies the given styles to a ShapeLabel object
49
+
/// </summary>
50
+
/// <param name="Font">Sets the shape label text font.</param>
51
+
/// <param name="Padding">Sets padding (in px) between edge of label and edge of shape.</param>
52
+
/// <param name="Text">Sets padding (in px) between edge of label and edge of shape.</param>
53
+
/// <param name="TextAngle">Sets padding (in px) between edge of label and edge of shape.</param>
54
+
/// <param name="TextPosition">Sets the position of the label text relative to the shape. Supported values for rectangles, circles and paths are "top left", "top center", "top right", "middle left", "middle center", "middle right", "bottom left", "bottom center", and "bottom right". Supported values for lines are "start", "middle", and "end". Default: "middle center" for rectangles, circles, and paths; "middle" for lines.</param>
55
+
/// <param name="XAnchor">Sets the label's horizontal position anchor This anchor binds the specified `textposition` to the "left", "center" or "right" of the label text. For example, if `textposition` is set to "top right" and `xanchor` to "right" then the right-most portion of the label text lines up with the right-most edge of the shape.</param>
56
+
/// <param name="YAnchor">Sets the label's vertical position anchor This anchor binds the specified `textposition` to the "top", "middle" or "bottom" of the label text. For example, if `textposition` is set to "top right" and `yanchor` to "top" then the top-most portion of the label text lines up with the top-most edge of the shape.</param>
0 commit comments