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

import"DOMRect.idl";

Inheritance diagram for DOMRect:
DOMObject DOMRectReadOnly WebScriptObject IDOMObject WebScriptObject IDOMObject WebScriptObject NSObject NSObject IWebScriptObject IWebScriptObject IWebScriptObject NSObject NSObject IWebScriptObject IWebScriptObject IWebScriptObject NSObject NSObject IWebScriptObject IWebScriptObject

Static Public Member Functions

static DOMRect fromRect (optional DOMRectInit other)
 
- Static Public Member Functions inherited from WebScriptObject
(BOOL+ throwException:
 
(BOOL+ throwException:
 
(id+ _convertValueToObjcValue:originRootObject:rootObject:
 
(id+ _convertValueToObjcValue:originRootObject:rootObject:
 
(id+ scriptObjectForJSObject:originRootObject:rootObject:
 
(id+ scriptObjectForJSObject:originRootObject:rootObject:
 

Public Attributes

inherit attribute unrestricted double x
 
inherit attribute unrestricted double y
 
inherit attribute unrestricted double width
 
inherit attribute unrestricted double height
 
- Public Attributes inherited from DOMRectReadOnly
readonly attribute unrestricted double x
 
readonly attribute unrestricted double y
 
readonly attribute unrestricted double width
 
readonly attribute unrestricted double height
 
readonly attribute unrestricted double top
 
readonly attribute unrestricted double right
 
readonly attribute unrestricted double bottom
 
readonly attribute unrestricted double left
 
 serializer = { attribute }
 

Properties

DOMCSSPrimitiveValuetop
 
DOMCSSPrimitiveValueright
 
DOMCSSPrimitiveValuebottom
 
DOMCSSPrimitiveValueleft
 

Additional Inherited Members

- Public Member Functions inherited from DOMObject
(instancetype) - NS_UNAVAILABLE
 
(virtual HRESULT STDMETHODCALLTYPE) - QueryInterface
 
(virtual ULONG STDMETHODCALLTYPE) - AddRef
 
(virtual ULONG STDMETHODCALLTYPE) - Release
 
(virtual HRESULT STDMETHODCALLTYPE) - throwException
 
(virtual HRESULT STDMETHODCALLTYPE) - callWebScriptMethod
 
(virtual HRESULT STDMETHODCALLTYPE) - evaluateWebScript
 
(virtual HRESULT STDMETHODCALLTYPE) - removeWebScriptKey
 
(virtual HRESULT STDMETHODCALLTYPE) - stringRepresentation
 
(virtual HRESULT STDMETHODCALLTYPE) - webScriptValueAtIndex
 
(virtual HRESULT STDMETHODCALLTYPE) - setWebScriptValueAtIndex
 
(virtual HRESULT STDMETHODCALLTYPE) - setException
 
(virtual HRESULT STDMETHODCALLTYPE) - QueryInterface
 
(DOMStyleSheet *sheet) - WEBKIT_AVAILABLE_MAC
 
- Public Member Functions inherited from WebScriptObject
(10_5) - WEBKIT_AVAILABLE_MAC
 
(id- callWebScriptMethod:withArguments:
 
(id- evaluateWebScript:
 
(void- removeWebScriptKey:
 
(NSString *) - stringRepresentation
 
(id- webScriptValueAtIndex:
 
(void- setWebScriptValueAtIndex:value:
 
(void- setException:
 
(10_5) - WEBKIT_AVAILABLE_MAC
 
(id- callWebScriptMethod:withArguments:
 
(id- evaluateWebScript:
 
(void- removeWebScriptKey:
 
(NSString *) - stringRepresentation
 
(id- webScriptValueAtIndex:
 
(void- setWebScriptValueAtIndex:value:
 
(void- setException:
 
() - WebScriptObject
 
(virtual) - ~WebScriptObject
 
() - WebScriptObject
 
(virtual) - ~WebScriptObject
 
(virtual HRESULT STDMETHODCALLTYPE) - callWebScriptMethod
 
(id- _init
 
(id- _init
 
(id- _initWithJSObject:originRootObject:rootObject:
 
(id- _initWithJSObject:originRootObject:rootObject:
 
(void- _setImp:originRootObject:rootObject:
 
(void- _setImp:originRootObject:rootObject:
 
(void- _setOriginRootObject:andRootObject:
 
(void- _setOriginRootObject:andRootObject:
 
(void- _initializeScriptDOMNodeImp
 
(void- _initializeScriptDOMNodeImp
 
(JSC::JSObject *) - _imp
 
(JSC::JSObject *) - _imp
 
(BOOL- _hasImp
 
(BOOL- _hasImp
 
(JSC::Bindings::RootObject *) - _rootObject
 
(JSC::Bindings::RootObject *) - _rootObject
 
(JSC::Bindings::RootObject *) - _originRootObject
 
(JSC::Bindings::RootObject *) - _originRootObject
 
(JSGlobalContextRef- _globalContextRef
 
(JSGlobalContextRef- _globalContextRef
 
(BOOL- hasWebScriptKey:
 
(BOOL- hasWebScriptKey:
 
(BOOL- hasWebScriptKey:
 
- Public Member Functions inherited from IWebScriptObject
HRESULT throwException ([in] BSTR exceptionMessage, [out, retval] BOOL *result)
 
HRESULT callWebScriptMethod ([in] BSTR name, [in, size_is(cArgs)] const VARIANT args[], [in] int cArgs, [out, retval] VARIANT *result)
 
HRESULT evaluateWebScript ([in] BSTR script, [out, retval] VARIANT *result)
 
HRESULT removeWebScriptKey ([in] BSTR name)
 
HRESULT stringRepresentation ([out, retval] BSTR *stringRepresentation)
 
HRESULT webScriptValueAtIndex ([in] unsigned int index, [out, retval] VARIANT *result)
 
HRESULT setWebScriptValueAtIndex ([in] unsigned int index, [in] VARIANT val)
 
HRESULT setException ([in] BSTR description)
 
- Protected Attributes inherited from DOMObject
package DOMObjectInternal_internal
 
- Protected Attributes inherited from WebScriptObject
WebScriptObjectPrivate_private
 
ULONG m_refCount { 0 }
 

Member Function Documentation

◆ fromRect()

static DOMRect DOMRect::fromRect ( optional DOMRectInit  other)
static

Implements DOMRectReadOnly.

Member Data Documentation

◆ height

inherit attribute unrestricted double DOMRect::height

◆ width

inherit attribute unrestricted double DOMRect::width

◆ x

inherit attribute unrestricted double DOMRect::x

◆ y

inherit attribute unrestricted double DOMRect::y

Property Documentation

◆ bottom

DOMCSSPrimitiveValue * DOMRect::bottom
readstrong

◆ left

DOMCSSPrimitiveValue * DOMRect::left
readstrong

◆ right

DOMCSSPrimitiveValue * DOMRect::right
readstrong

◆ top

DOMCSSPrimitiveValue * DOMRect::top
readstrong

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