LibreOffice Module svx (master) 1
Public Member Functions | Private Attributes | List of all members
XHatch Class Referencefinal

#include <xhatch.hxx>

Collaboration diagram for XHatch:
[legend]

Public Member Functions

 XHatch ()
 
 XHatch (const Color &rCol, css::drawing::HatchStyle eStyle=css::drawing::HatchStyle_SINGLE, tools::Long nDistance=20, Degree10 nAngle=0_deg10)
 
bool operator== (const XHatch &rHatch) const
 
void SetHatchStyle (css::drawing::HatchStyle eNewStyle)
 
void SetColor (const Color &rColor)
 
void SetDistance (tools::Long nNewDistance)
 
void SetAngle (Degree10 nNewAngle)
 
css::drawing::HatchStyle GetHatchStyle () const
 
const ColorGetColor () const
 
tools::Long GetDistance () const
 
Degree10 GetAngle () const
 

Private Attributes

css::drawing::HatchStyle eStyle
 
Color aColor
 
tools::Long nDistance
 
Degree10 nAngle
 

Detailed Description

Definition at line 32 of file xhatch.hxx.

Constructor & Destructor Documentation

◆ XHatch() [1/2]

XHatch::XHatch ( )
inline

Definition at line 40 of file xhatch.hxx.

◆ XHatch() [2/2]

XHatch::XHatch ( const Color rCol,
css::drawing::HatchStyle  eStyle = css::drawing::HatchStyle_SINGLE,
tools::Long  nDistance = 20,
Degree10  nAngle = 0_deg10 
)

Definition at line 2629 of file xattr.cxx.

Member Function Documentation

◆ GetAngle()

Degree10 XHatch::GetAngle ( ) const
inline

◆ GetColor()

const Color & XHatch::GetColor ( ) const
inline

◆ GetDistance()

tools::Long XHatch::GetDistance ( ) const
inline

◆ GetHatchStyle()

css::drawing::HatchStyle XHatch::GetHatchStyle ( ) const
inline

◆ operator==()

bool XHatch::operator== ( const XHatch rHatch) const

Definition at line 2638 of file xattr.cxx.

References aColor, eStyle, nAngle, and nDistance.

◆ SetAngle()

void XHatch::SetAngle ( Degree10  nNewAngle)
inline

Definition at line 49 of file xhatch.hxx.

Referenced by XFillHatchItem::PutValue().

◆ SetColor()

void XHatch::SetColor ( const Color rColor)
inline

◆ SetDistance()

void XHatch::SetDistance ( tools::Long  nNewDistance)
inline

Definition at line 48 of file xhatch.hxx.

Referenced by XFillHatchItem::PutValue(), and XFillHatchItem::ScaleMetrics().

◆ SetHatchStyle()

void XHatch::SetHatchStyle ( css::drawing::HatchStyle  eNewStyle)
inline

Definition at line 46 of file xhatch.hxx.

Referenced by XFillHatchItem::PutValue().

Member Data Documentation

◆ aColor

Color XHatch::aColor
private

Definition at line 35 of file xhatch.hxx.

Referenced by operator==().

◆ eStyle

css::drawing::HatchStyle XHatch::eStyle
private

Definition at line 34 of file xhatch.hxx.

Referenced by operator==().

◆ nAngle

Degree10 XHatch::nAngle
private

Definition at line 37 of file xhatch.hxx.

Referenced by operator==().

◆ nDistance

tools::Long XHatch::nDistance
private

Definition at line 36 of file xhatch.hxx.

Referenced by operator==().


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