webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | List of all members
WebCore::SVGRect Class Reference

#include <SVGRect.h>

Inheritance diagram for WebCore::SVGRect:
WebCore::SVGPropertyTearOff< FloatRect > WebCore::SVGPropertyTearOffBase WebCore::SVGProperty WTF::RefCounted< SVGProperty > WTF::RefCounted< SVGProperty > WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase

Public Member Functions

float x ()
 
ExceptionOr< voidsetX (float xValue)
 
float y ()
 
ExceptionOr< voidsetY (float xValue)
 
float width ()
 
ExceptionOr< voidsetWidth (float widthValue)
 
float height ()
 
ExceptionOr< voidsetHeight (float heightValue)
 
- Public Member Functions inherited from WebCore::SVGPropertyTearOff< FloatRect >
virtual PropertyTypepropertyReference ()
 
SVGAnimatedPropertyanimatedProperty () const
 
virtual void setValue (PropertyType &value)
 
void setAnimatedProperty (SVGAnimatedProperty *animatedProperty)
 
SVGElementcontextElement () const
 
void addChild (WeakPtr< SVGPropertyTearOffBase > child)
 
void detachWrapper () override
 
void commitChange () override
 
bool isReadOnly () const override
 
- Public Member Functions inherited from WebCore::SVGProperty
virtual ~SVGProperty ()
 
virtual ~SVGProperty ()
 
- Public Member Functions inherited from WTF::RefCounted< SVGProperty >
void deref () const
 
void deref () const
 
void deref () const
 
- Public Member Functions inherited from WTF::RefCountedBase
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 

Static Public Member Functions

static Ref< SVGRectcreate (SVGAnimatedProperty &animatedProperty, SVGPropertyRole role, FloatRect &value)
 
static Ref< SVGRectcreate (const FloatRect &initialValue={ })
 
static Ref< SVGRectcreate (const FloatRect *initialValue)
 
template<typename T >
static ExceptionOr< Ref< SVGRect > > create (ExceptionOr< T > &&initialValue)
 
- Static Public Member Functions inherited from WebCore::SVGPropertyTearOff< FloatRect >
static Ref< Selfcreate (SVGAnimatedProperty &animatedProperty, SVGPropertyRole role, PropertyType &value)
 
static Ref< Selfcreate (const PropertyType &initialValue)
 
static Ref< Selfcreate (const PropertyType *initialValue)
 
static ExceptionOr< Ref< Self > > create (ExceptionOr< U > &&initialValue)
 

Additional Inherited Members

- Public Types inherited from WebCore::SVGPropertyTearOff< FloatRect >
using PropertyType = FloatRect
 
using Self = SVGPropertyTearOff< PropertyType >
 
- Protected Member Functions inherited from WebCore::SVGPropertyTearOff< FloatRect >
 SVGPropertyTearOff (SVGAnimatedProperty *animatedProperty, SVGPropertyRole role, PropertyType &value)
 
 SVGPropertyTearOff (const PropertyType &initialValue)
 
 SVGPropertyTearOff (const PropertyType *initialValue)
 
virtual ~SVGPropertyTearOff ()
 
void detachChildren ()
 
- Protected Member Functions inherited from WTF::RefCounted< SVGProperty >
 RefCounted ()
 
 RefCounted ()
 
 RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
- Protected Member Functions inherited from WTF::RefCountedBase
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
- Protected Attributes inherited from WebCore::SVGPropertyTearOff< FloatRect >
RefPtr< SVGAnimatedPropertym_animatedProperty
 
SVGPropertyRole m_role
 
PropertyTypem_value
 
Vector< WeakPtr< SVGPropertyTearOffBase > > m_childTearOffs
 
bool m_valueIsCopy
 

Member Function Documentation

◆ create() [1/4]

static Ref<SVGRect> WebCore::SVGRect::create ( SVGAnimatedProperty animatedProperty,
SVGPropertyRole  role,
FloatRect value 
)
inlinestatic

◆ create() [2/4]

static Ref<SVGRect> WebCore::SVGRect::create ( const FloatRect initialValue = { })
inlinestatic

◆ create() [3/4]

static Ref<SVGRect> WebCore::SVGRect::create ( const FloatRect initialValue)
inlinestatic

◆ create() [4/4]

template<typename T >
static ExceptionOr<Ref<SVGRect> > WebCore::SVGRect::create ( ExceptionOr< T > &&  initialValue)
inlinestatic

◆ height()

float WebCore::SVGRect::height ( )
inline

◆ setHeight()

ExceptionOr<void> WebCore::SVGRect::setHeight ( float  heightValue)
inline

◆ setWidth()

ExceptionOr<void> WebCore::SVGRect::setWidth ( float  widthValue)
inline

◆ setX()

ExceptionOr<void> WebCore::SVGRect::setX ( float  xValue)
inline

◆ setY()

ExceptionOr<void> WebCore::SVGRect::setY ( float  xValue)
inline

◆ width()

float WebCore::SVGRect::width ( )
inline

◆ x()

float WebCore::SVGRect::x ( )
inline

◆ y()

float WebCore::SVGRect::y ( )
inline

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