QgsMeshRendererMeshSettings class

Represents a mesh renderer settings for mesh object.

Contents

Public functions

auto color() const -> QColor
Returns color used for rendering.
auto isEnabled() const -> bool
Returns whether mesh structure rendering is enabled.
auto lineWidth() const -> double
Returns line width used for rendering (in millimeters)
void readXml(const QDomElement& elem)
Reads configuration from the given DOM element.
void setColor(const QColor& color)
Sets color used for rendering of the mesh.
void setEnabled(bool enabled)
Sets whether mesh structure rendering is enabled.
void setLineWidth(double lineWidth)
Sets line width used for rendering (in millimeters)
auto writeXml(QDomDocument& doc) const -> QDomElement
Writes configuration to a new DOM element.