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

#include <svgelement.h>

Inheritance diagram for novasvg::SVGNumberPercentage:
Collaboration diagram for novasvg::SVGNumberPercentage:

Public Member Functions

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

Detailed Description

Definition at line 491 of file svgelement.h.

Constructor & Destructor Documentation

◆ SVGNumberPercentage()

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

Definition at line 493 of file svgelement.h.

Member Function Documentation

◆ parse()

NOVASVG_INLINE bool novasvg::SVGNumberPercentage::parse ( std::string_view  input)
finalvirtual

◆ value()

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

Definition at line 498 of file svgelement.h.

Referenced by novasvg::SVGStopElement::gradientStop(), and parse().


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