LibreOffice Module drawinglayer (master) 1
Public Types | Public Member Functions | Private Attributes | List of all members
drawinglayer::attribute::LineAttribute Class Reference

#include <lineattribute.hxx>

Collaboration diagram for drawinglayer::attribute::LineAttribute:
[legend]

Public Types

typedef o3tl::cow_wrapper< ImpLineAttributeImplType
 

Public Member Functions

 LineAttribute (const basegfx::BColor &rColor, double fWidth=0.0, basegfx::B2DLineJoin aB2DLineJoin=basegfx::B2DLineJoin::Round, css::drawing::LineCap aLineCap=css::drawing::LineCap_BUTT, double fMiterMinimumAngle=basegfx::deg2rad(15.0))
 constructors/assignmentoperator/destructor More...
 
 LineAttribute ()
 
 LineAttribute (const LineAttribute &)
 
LineAttributeoperator= (const LineAttribute &)
 
 ~LineAttribute ()
 
bool isDefault () const
 
bool operator== (const LineAttribute &rCandidate) const
 
const basegfx::BColorgetColor () const
 
double getWidth () const
 
basegfx::B2DLineJoin getLineJoin () const
 
css::drawing::LineCap getLineCap () const
 
double getMiterMinimumAngle () const
 

Private Attributes

ImplType mpLineAttribute
 

Detailed Description

Definition at line 41 of file lineattribute.hxx.

Member Typedef Documentation

◆ ImplType

Definition at line 44 of file lineattribute.hxx.

Constructor & Destructor Documentation

◆ LineAttribute() [1/3]

drawinglayer::attribute::LineAttribute::LineAttribute ( const basegfx::BColor rColor,
double  fWidth = 0.0,
basegfx::B2DLineJoin  aB2DLineJoin = basegfx::B2DLineJoin::Round,
css::drawing::LineCap  aLineCap = css::drawing::LineCap_BUTT,
double  fMiterMinimumAngle = basegfx::deg2rad(15.0) 
)
explicit

constructors/assignmentoperator/destructor

Definition at line 84 of file lineattribute.cxx.

◆ LineAttribute() [2/3]

drawinglayer::attribute::LineAttribute::LineAttribute ( )

Definition at line 100 of file lineattribute.cxx.

◆ LineAttribute() [3/3]

drawinglayer::attribute::LineAttribute::LineAttribute ( const LineAttribute )
default

◆ ~LineAttribute()

drawinglayer::attribute::LineAttribute::~LineAttribute ( )
default

References operator==().

Member Function Documentation

◆ getColor()

const basegfx::BColor & drawinglayer::attribute::LineAttribute::getColor ( ) const

◆ getLineCap()

css::drawing::LineCap drawinglayer::attribute::LineAttribute::getLineCap ( ) const

◆ getLineJoin()

basegfx::B2DLineJoin drawinglayer::attribute::LineAttribute::getLineJoin ( ) const

◆ getMiterMinimumAngle()

double drawinglayer::attribute::LineAttribute::getMiterMinimumAngle ( ) const

◆ getWidth()

double drawinglayer::attribute::LineAttribute::getWidth ( ) const

◆ isDefault()

bool drawinglayer::attribute::LineAttribute::isDefault ( ) const

◆ operator=()

LineAttribute & drawinglayer::attribute::LineAttribute::operator= ( const LineAttribute )
default

◆ operator==()

bool drawinglayer::attribute::LineAttribute::operator== ( const LineAttribute rCandidate) const

Definition at line 116 of file lineattribute.cxx.

References isDefault(), and mpLineAttribute.

Member Data Documentation

◆ mpLineAttribute

ImplType drawinglayer::attribute::LineAttribute::mpLineAttribute
private

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