NovaSVG 0.10.0
A header-only SVG library
Loading...
Searching...
No Matches
novasvg::Paint Class Reference

#include <svgelement.h>

Public Member Functions

 Paint ()=default
 
 Paint (const Color &color)
 
 Paint (const std::string &id, const Color &color)
 
const Color & color () const
 
const std::string & id () const
 
bool isNone () const
 

Detailed Description

Definition at line 175 of file svgelement.h.

Constructor & Destructor Documentation

◆ Paint() [1/3]

novasvg::Paint::Paint ( )
default

◆ Paint() [2/3]

novasvg::Paint::Paint ( const Color &  color)
inlineexplicit

Definition at line 178 of file svgelement.h.

◆ Paint() [3/3]

novasvg::Paint::Paint ( const std::string &  id,
const Color &  color 
)
inline

Definition at line 179 of file svgelement.h.

Member Function Documentation

◆ color()

const Color & novasvg::Paint::color ( ) const
inline

Definition at line 183 of file svgelement.h.

◆ id()

const std::string & novasvg::Paint::id ( ) const
inline

Definition at line 184 of file svgelement.h.

◆ isNone()

bool novasvg::Paint::isNone ( ) const
inline

Definition at line 185 of file svgelement.h.

References novasvg::Color::isVisible().


The documentation for this class was generated from the following file: