neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::pen Class Reference

#include <pen.hpp>

Public Member Functions

 pen ()
 
 pen (const color &aColor, bool aAntiAliased=true)
 
 pen (const color &aColor, dimension aWidth, bool aAntiAliased=true)
 
 pen (const gradient &aColor, bool aAntiAliased=true)
 
 pen (const gradient &aColor, dimension aWidth, bool aAntiAliased=true)
 
 pen (const color_or_gradient &aColor, bool aAntiAliased=true)
 
 pen (const color_or_gradient &aColor, dimension aWidth, bool aAntiAliased=true)
 
const color_or_gradientcolor () const
 
dimension width () const
 
bool anti_aliased () const
 

Detailed Description

Definition at line 28 of file pen.hpp.

Constructor & Destructor Documentation

◆ pen() [1/7]

neogfx::pen::pen ( )
inline

Definition at line 33 of file pen.hpp.

◆ pen() [2/7]

neogfx::pen::pen ( const color aColor,
bool  aAntiAliased = true 
)
inline

Definition at line 34 of file pen.hpp.

◆ pen() [3/7]

neogfx::pen::pen ( const color aColor,
dimension  aWidth,
bool  aAntiAliased = true 
)
inline

Definition at line 35 of file pen.hpp.

◆ pen() [4/7]

neogfx::pen::pen ( const gradient aColor,
bool  aAntiAliased = true 
)
inline

Definition at line 36 of file pen.hpp.

◆ pen() [5/7]

neogfx::pen::pen ( const gradient aColor,
dimension  aWidth,
bool  aAntiAliased = true 
)
inline

Definition at line 37 of file pen.hpp.

◆ pen() [6/7]

neogfx::pen::pen ( const color_or_gradient aColor,
bool  aAntiAliased = true 
)
inline

Definition at line 38 of file pen.hpp.

◆ pen() [7/7]

neogfx::pen::pen ( const color_or_gradient aColor,
dimension  aWidth,
bool  aAntiAliased = true 
)
inline

Definition at line 39 of file pen.hpp.

Member Function Documentation

◆ anti_aliased()

bool neogfx::pen::anti_aliased ( ) const
inline

Definition at line 44 of file pen.hpp.

◆ color()

const color_or_gradient & neogfx::pen::color ( ) const
inline

Definition at line 42 of file pen.hpp.

◆ width()

dimension neogfx::pen::width ( ) const
inline

Definition at line 43 of file pen.hpp.


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