File tree Expand file tree Collapse file tree 2 files changed +38
-2
lines changed
python/core/auto_generated/symbology Expand file tree Collapse file tree 2 files changed +38
-2
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,26 @@ Returns the units for lengths used in the custom dash pattern.
103
103
void setCustomDashVector( const QVector<qreal> &vector );
104
104
105
105
bool drawInsidePolygon() const;
106
+ %Docstring
107
+ Returns true if the line should only be drawn inside polygons, and any portion
108
+ of the line which falls outside the polygon should be clipped away.
109
+
110
+ This setting only has an effect when the line symbol is being
111
+ used to render polygon rings.
112
+
113
+ .. seealso:: :py:func:`setDrawInsidePolygon`
114
+ %End
115
+
106
116
void setDrawInsidePolygon( bool drawInsidePolygon );
117
+ %Docstring
118
+ Sets whether the line should only be drawn inside polygons, and any portion
119
+ of the line which falls outside the polygon should be clipped away.
120
+
121
+ This setting only has an effect when the line symbol is being
122
+ used to render polygon rings.
123
+
124
+ .. seealso:: :py:func:`drawInsidePolygon`
125
+ %End
107
126
108
127
virtual QVector<qreal> dxfCustomDashPattern( QgsUnitTypes::RenderUnit &unit ) const;
109
128
Original file line number Diff line number Diff line change @@ -109,9 +109,26 @@ class CORE_EXPORT QgsSimpleLineSymbolLayer : public QgsLineSymbolLayer
109
109
QVector<qreal> customDashVector () const { return mCustomDashVector ; }
110
110
void setCustomDashVector ( const QVector<qreal> &vector ) { mCustomDashVector = vector; }
111
111
112
- // Returns true if the line should only be drawn inside the polygon
112
+ /* *
113
+ * Returns true if the line should only be drawn inside polygons, and any portion
114
+ * of the line which falls outside the polygon should be clipped away.
115
+ *
116
+ * This setting only has an effect when the line symbol is being
117
+ * used to render polygon rings.
118
+ *
119
+ * \see setDrawInsidePolygon()
120
+ */
113
121
bool drawInsidePolygon () const { return mDrawInsidePolygon ; }
114
- // Set to true if the line should only be drawn inside the polygon
122
+
123
+ /* *
124
+ * Sets whether the line should only be drawn inside polygons, and any portion
125
+ * of the line which falls outside the polygon should be clipped away.
126
+ *
127
+ * This setting only has an effect when the line symbol is being
128
+ * used to render polygon rings.
129
+ *
130
+ * \see drawInsidePolygon()
131
+ */
115
132
void setDrawInsidePolygon ( bool drawInsidePolygon ) { mDrawInsidePolygon = drawInsidePolygon; }
116
133
117
134
QVector<qreal> dxfCustomDashPattern ( QgsUnitTypes::RenderUnit &unit ) const override ;
You can’t perform that action at this time.
0 commit comments