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

#include <svgelement.h>

Inheritance diagram for novasvg::SVGLinearGradientAttributes:
Collaboration diagram for novasvg::SVGLinearGradientAttributes:

Public Member Functions

 SVGLinearGradientAttributes ()=default
 
const SVGLength & x1 () const
 
const SVGLength & y1 () const
 
const SVGLength & x2 () const
 
const SVGLength & y2 () const
 
bool hasX1 () const
 
bool hasY1 () const
 
bool hasX2 () const
 
bool hasY2 () const
 
void setX1 (const SVGLinearGradientElement *value)
 
void setY1 (const SVGLinearGradientElement *value)
 
void setX2 (const SVGLinearGradientElement *value)
 
void setY2 (const SVGLinearGradientElement *value)
 
void setDefaultValues (const SVGLinearGradientElement *element)
 
- Public Member Functions inherited from novasvg::SVGGradientAttributes
 SVGGradientAttributes ()=default
 
const Transform & gradientTransform () const
 
SpreadMethod spreadMethod () const
 
Units gradientUnits () const
 
const SVGGradientElement * gradientContentElement () const
 
bool hasGradientTransform () const
 
bool hasSpreadMethod () const
 
bool hasGradientUnits () const
 
bool hasGradientContentElement () const
 
void setGradientTransform (const SVGGradientElement *value)
 
void setSpreadMethod (const SVGGradientElement *value)
 
void setGradientUnits (const SVGGradientElement *value)
 
void setGradientContentElement (const SVGGradientElement *value)
 
void setDefaultValues (const SVGGradientElement *element)
 

Detailed Description

Definition at line 1720 of file svgelement.h.

Constructor & Destructor Documentation

◆ SVGLinearGradientAttributes()

novasvg::SVGLinearGradientAttributes::SVGLinearGradientAttributes ( )
default

Member Function Documentation

◆ hasX1()

bool novasvg::SVGLinearGradientAttributes::hasX1 ( ) const
inline

Definition at line 1729 of file svgelement.h.

◆ hasX2()

bool novasvg::SVGLinearGradientAttributes::hasX2 ( ) const
inline

Definition at line 1731 of file svgelement.h.

◆ hasY1()

bool novasvg::SVGLinearGradientAttributes::hasY1 ( ) const
inline

Definition at line 1730 of file svgelement.h.

◆ hasY2()

bool novasvg::SVGLinearGradientAttributes::hasY2 ( ) const
inline

Definition at line 1732 of file svgelement.h.

◆ setDefaultValues()

void novasvg::SVGLinearGradientAttributes::setDefaultValues ( const SVGLinearGradientElement *  element)
inline

Definition at line 1739 of file svgelement.h.

◆ setX1()

void novasvg::SVGLinearGradientAttributes::setX1 ( const SVGLinearGradientElement *  value)
inline

Definition at line 1734 of file svgelement.h.

◆ setX2()

void novasvg::SVGLinearGradientAttributes::setX2 ( const SVGLinearGradientElement *  value)
inline

Definition at line 1736 of file svgelement.h.

◆ setY1()

void novasvg::SVGLinearGradientAttributes::setY1 ( const SVGLinearGradientElement *  value)
inline

Definition at line 1735 of file svgelement.h.

◆ setY2()

void novasvg::SVGLinearGradientAttributes::setY2 ( const SVGLinearGradientElement *  value)
inline

Definition at line 1737 of file svgelement.h.

◆ x1()

const SVGLength & novasvg::SVGLinearGradientAttributes::x1 ( ) const
inline

Definition at line 1724 of file svgelement.h.

◆ x2()

const SVGLength & novasvg::SVGLinearGradientAttributes::x2 ( ) const
inline

Definition at line 1726 of file svgelement.h.

◆ y1()

const SVGLength & novasvg::SVGLinearGradientAttributes::y1 ( ) const
inline

Definition at line 1725 of file svgelement.h.

◆ y2()

const SVGLength & novasvg::SVGLinearGradientAttributes::y2 ( ) const
inline

Definition at line 1727 of file svgelement.h.


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