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

Stores the parsed element type of the current entity. More...

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

Public Member Functions

 ElementTypeComponent (ElementType type)
 Tag this entity to have ElementType type.
 
ElementType type () const
 Get the parsed element type as an enum.
 

Detailed Description

Stores the parsed element type of the current entity.

Constructor & Destructor Documentation

◆ ElementTypeComponent()

donner::svg::components::ElementTypeComponent::ElementTypeComponent ( ElementType type)
inlineexplicit

Tag this entity to have ElementType type.

Parameters
typeThe type of the element.

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