ASPiK SDK
VSTGUI::CLineStyle Class Reference

Public Types

enum  LineCap { kLineCapButt = 0, kLineCapRound, kLineCapSquare }
 
enum  LineJoin { kLineJoinMiter = 0, kLineJoinRound, kLineJoinBevel }
 
using CoordVector = std::vector< CCoord >
 

Public Member Functions

 CLineStyle (LineCap cap, LineJoin join=kLineJoinMiter, CCoord dashPhase=0., uint32_t dashCount=0, const CCoord *dashLengths=nullptr)
 
 CLineStyle (LineCap cap, LineJoin join, CCoord dashPhase, const CoordVector &dashLengths)
 
 CLineStyle (const CLineStyle &lineStyle)
 
 CLineStyle (LineCap cap, LineJoin join, CCoord dashPhase, CoordVector &&dashLengths) noexcept
 
 CLineStyle (CLineStyle &&cls) noexcept
 
CLineStyleoperator= (CLineStyle &&cls) noexcept
 
LineCap getLineCap () const
 
LineJoin getLineJoin () const
 
CCoord getDashPhase () const
 
uint32_t getDashCount () const
 
CoordVector & getDashLengths ()
 
const CoordVector & getDashLengths () const
 
void setLineCap (LineCap newCap)
 
void setLineJoin (LineJoin newJoin)
 
void setDashPhase (CCoord phase)
 
bool operator== (const CLineStyle &cls) const
 
bool operator!= (const CLineStyle &cls) const
 
CLineStyleoperator= (const CLineStyle &cls)
 

Protected Attributes

LineCap cap {kLineCapButt}
 
LineJoin join {kLineJoinMiter}
 
CCoord dashPhase {0.}
 
CoordVector dashLengths
 

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