Code layout

This commit is contained in:
Alessandro Pasotti 2018-07-31 13:06:48 +02:00
parent 222fe2362e
commit 6a4aee82db
2 changed files with 8 additions and 8 deletions

View File

@ -53,7 +53,7 @@ and renderer.
QColor color( ) const;
%Docstring
Return line/stroke color
Returns the line/stroke color
.. versionadded:: 3.4
%End
@ -66,7 +66,7 @@ This is legacy function, use setFillColor() after setColor() if different fill c
QColor fillColor( ) const;
%Docstring
Return fill color
Returns the fill color
.. versionadded:: 3.4
%End
@ -81,7 +81,7 @@ Will be used for polygons and points.
int width( ) const;
%Docstring
Return stroke width
Returns the stroke width
.. versionadded:: 3.4
%End
@ -97,7 +97,7 @@ Set stroke width.
double buffer( ) const;
%Docstring
Return buffer
Returns the buffer
.. versionadded:: 3.4
%End

View File

@ -76,7 +76,7 @@ class GUI_EXPORT QgsHighlight: public QObject, public QgsMapCanvasItem
~QgsHighlight() override;
/**
* Return line/stroke color
* Returns the line/stroke color
* \since QGIS 3.4
*/
QColor color( ) const { return mColor; }
@ -87,7 +87,7 @@ class GUI_EXPORT QgsHighlight: public QObject, public QgsMapCanvasItem
void setColor( const QColor &color );
/**
* Return fill color
* Returns the fill color
* \since QGIS 3.4
*/
QColor fillColor( ) const { return mFillColor; }
@ -101,7 +101,7 @@ class GUI_EXPORT QgsHighlight: public QObject, public QgsMapCanvasItem
void setFillColor( const QColor &fillColor );
/**
* Return stroke width
* Returns the stroke width
* \since QGIS 3.4
*/
int width( ) const { return mWidth; }
@ -114,7 +114,7 @@ class GUI_EXPORT QgsHighlight: public QObject, public QgsMapCanvasItem
void setWidth( int width );
/**
* Return buffer
* Returns the buffer
* \since QGIS 3.4
*/
double buffer( ) const { return mBuffer; }