webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Protected Attributes | Friends | List of all members
WebCore::BorderValue Class Reference

#include <BorderValue.h>

Inheritance diagram for WebCore::BorderValue:
WebCore::OutlineValue WebCore::OutlineValue

Public Member Functions

 BorderValue ()
 
bool nonZero (bool checkStyle=true) const
 
bool isTransparent () const
 
bool isVisible (bool checkStyle=true) const
 
bool operator== (const BorderValue &o) const
 
bool operator!= (const BorderValue &o) const
 
void setColor (const Color &color)
 
const Colorcolor () const
 
float width () const
 
EBorderStyle style () const
 
 BorderValue ()
 
bool nonZero (bool checkStyle=true) const
 
bool isTransparent () const
 
bool isVisible (bool checkStyle=true) const
 
bool operator== (const BorderValue &o) const
 
bool operator!= (const BorderValue &o) const
 
void setColor (const Color &color)
 
const Colorcolor () const
 
float width () const
 
EBorderStyle style () const
 

Protected Attributes

float m_width { 3 }
 
Color m_color
 
unsigned m_style: 4
 
unsigned m_isAuto: 1
 

Friends

class RenderStyle
 

Constructor & Destructor Documentation

◆ BorderValue() [1/2]

WebCore::BorderValue::BorderValue ( )
inline

◆ BorderValue() [2/2]

WebCore::BorderValue::BorderValue ( )
inline

Member Function Documentation

◆ color() [1/2]

const Color& WebCore::BorderValue::color ( ) const
inline

◆ color() [2/2]

const Color& WebCore::BorderValue::color ( ) const
inline

◆ isTransparent() [1/2]

bool WebCore::BorderValue::isTransparent ( ) const
inline

◆ isTransparent() [2/2]

bool WebCore::BorderValue::isTransparent ( ) const
inline

◆ isVisible() [1/2]

bool WebCore::BorderValue::isVisible ( bool  checkStyle = true) const
inline

◆ isVisible() [2/2]

bool WebCore::BorderValue::isVisible ( bool  checkStyle = true) const
inline

◆ nonZero() [1/2]

bool WebCore::BorderValue::nonZero ( bool  checkStyle = true) const
inline

◆ nonZero() [2/2]

bool WebCore::BorderValue::nonZero ( bool  checkStyle = true) const
inline

◆ operator!=() [1/2]

bool WebCore::BorderValue::operator!= ( const BorderValue o) const
inline

◆ operator!=() [2/2]

bool WebCore::BorderValue::operator!= ( const BorderValue o) const
inline

◆ operator==() [1/2]

bool WebCore::BorderValue::operator== ( const BorderValue o) const
inline

◆ operator==() [2/2]

bool WebCore::BorderValue::operator== ( const BorderValue o) const
inline

◆ setColor() [1/2]

void WebCore::BorderValue::setColor ( const Color color)
inline

◆ setColor() [2/2]

void WebCore::BorderValue::setColor ( const Color color)
inline

◆ style() [1/2]

EBorderStyle WebCore::BorderValue::style ( ) const
inline

◆ style() [2/2]

EBorderStyle WebCore::BorderValue::style ( ) const
inline

◆ width() [1/2]

float WebCore::BorderValue::width ( ) const
inline

◆ width() [2/2]

float WebCore::BorderValue::width ( ) const
inline

Friends And Related Function Documentation

◆ RenderStyle

RenderStyle
friend

Member Data Documentation

◆ m_color

Color WebCore::BorderValue::m_color
protected

◆ m_isAuto

unsigned WebCore::BorderValue::m_isAuto
protected

◆ m_style

unsigned WebCore::BorderValue::m_style
protected

◆ m_width

float WebCore::BorderValue::m_width { 3 }
protected

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