Donner
C++20 SVG rendering library
Loading...
Searching...
No Matches
donner::svg::components::IdComponent Struct Reference

Holds the value of the id attribute of an element. More...

#include "donner/svg/components/IdComponent.h"

Public Member Functions

 IdComponent (const RcString &value)
 Constructor, create an IdComponent for a given ID.
 
const RcStringid () const
 Get the element id attribute value. To change the value, destroy and recreate IdComponent.
 

Detailed Description

Holds the value of the id attribute of an element.

Constructor & Destructor Documentation

◆ IdComponent()

donner::svg::components::IdComponent::IdComponent ( const RcString & value)
inlineexplicit

Constructor, create an IdComponent for a given ID.

To change the value, destory and recreate this object.

Parameters
valueID attribute value.

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