#include <css_value_border_style.h>

+ Inheritance diagram for clan::CSSValueBorderStyle:

Public Types

enum  Type {
  type_none, type_hidden, type_dotted, type_dashed,
  type_solid, type_double, type_groove, type_ridge,
  type_inset, type_outset, type_inherit
}
 
enum  ValueType { left_value, top_value, right_value, bottom_value }
 

Public Member Functions

 CSSValueBorderStyle ()
 
 CSSValueBorderStyle (ValueType value_type, const CSSValueBorderStyle &value)
 
void apply (CSSComputedValuesUpdater *updater)
 
std::unique_ptr< CSSPropertyValueclone () const
 
void compute (const CSSValueBorderStyle *parent, CSSResourceCache *layout, float em_size, float ex_size)
 
std::string get_name () const
 
std::string to_string () const
 
- Public Member Functions inherited from clan::CSSPropertyValue
virtual ~CSSPropertyValue ()
 

Public Attributes

Type type
 
ValueType value_type
 

Member Enumeration Documentation

◆ Type

Enumerator
type_none 
type_hidden 
type_dotted 
type_dashed 
type_solid 
type_double 
type_groove 
type_ridge 
type_inset 
type_outset 
type_inherit 

◆ ValueType

Enumerator
left_value 
top_value 
right_value 
bottom_value 

Constructor & Destructor Documentation

◆ CSSValueBorderStyle() [1/2]

clan::CSSValueBorderStyle::CSSValueBorderStyle ( )

◆ CSSValueBorderStyle() [2/2]

clan::CSSValueBorderStyle::CSSValueBorderStyle ( ValueType  value_type,
const CSSValueBorderStyle value 
)

Member Function Documentation

◆ apply()

void clan::CSSValueBorderStyle::apply ( CSSComputedValuesUpdater updater)
virtual

◆ clone()

std::unique_ptr<CSSPropertyValue> clan::CSSValueBorderStyle::clone ( ) const
virtual

◆ compute()

void clan::CSSValueBorderStyle::compute ( const CSSValueBorderStyle parent,
CSSResourceCache *  layout,
float  em_size,
float  ex_size 
)

◆ get_name()

std::string clan::CSSValueBorderStyle::get_name ( ) const
virtual

◆ to_string()

std::string clan::CSSValueBorderStyle::to_string ( ) const
virtual

Member Data Documentation

◆ type

Type clan::CSSValueBorderStyle::type

◆ value_type

ValueType clan::CSSValueBorderStyle::value_type

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