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

#include <svgelement.h>

Inheritance diagram for novasvg::SVGNumber:
Collaboration diagram for novasvg::SVGNumber:

Public Member Functions

 SVGNumber (PropertyID id, float value)
 
float value () const
 
bool parse (std::string_view input) override
 
- Public Member Functions inherited from novasvg::SVGProperty
 SVGProperty (PropertyID id)
 
virtual ~SVGProperty ()=default
 
PropertyID id () const
 

Detailed Description

Definition at line 477 of file svgelement.h.

Constructor & Destructor Documentation

◆ SVGNumber()

novasvg::SVGNumber::SVGNumber ( PropertyID  id,
float  value 
)
inline

Definition at line 479 of file svgelement.h.

Member Function Documentation

◆ parse()

NOVASVG_INLINE bool novasvg::SVGNumber::parse ( std::string_view  input)
overridevirtual

◆ value()

float novasvg::SVGNumber::value ( ) const
inline

Definition at line 484 of file svgelement.h.

Referenced by parse().


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