Donner SVG 0.8.0-pre
SVG editor and embeddable C⁠+⁠+⁠20 engine.
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 RcString & id () 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: