JSValue jsSVGPathSegLinetoVerticalAbsY(ExecState* exec, JSValue slotBase, const Identifier&) { JSSVGPathSegLinetoVerticalAbs* castedThis = static_cast<JSSVGPathSegLinetoVerticalAbs*>(asObject(slotBase)); UNUSED_PARAM(exec); SVGPathSegLinetoVerticalAbs* imp = static_cast<SVGPathSegLinetoVerticalAbs*>(castedThis->impl()); JSValue result = jsNumber(imp->y()); return result; }
static void yAttrSetter(v8::Local<v8::String> name, v8::Local<v8::Value> value, const v8::AccessorInfo& info) { INC_STATS("DOM.SVGPathSegLinetoVerticalAbs.y._set"); SVGPathSegLinetoVerticalAbs* imp = V8SVGPathSegLinetoVerticalAbs::toNative(info.Holder()); float v = static_cast<float>(value->NumberValue()); imp->setY(v); if (SVGElement* context = V8Proxy::svgContext(imp)) context->svgAttributeChanged(imp->associatedAttributeName()); return; }
void setJSSVGPathSegLinetoVerticalAbsY(ExecState* exec, JSObject* thisObject, JSValue value) { JSSVGPathSegLinetoVerticalAbs* castedThis = static_cast<JSSVGPathSegLinetoVerticalAbs*>(thisObject); SVGPathSegLinetoVerticalAbs* imp = static_cast<SVGPathSegLinetoVerticalAbs*>(castedThis->impl()); imp->setY(value.toFloat(exec)); }
static v8::Handle<v8::Value> yAttrGetter(v8::Local<v8::String> name, const v8::AccessorInfo& info) { INC_STATS("DOM.SVGPathSegLinetoVerticalAbs.y._get"); SVGPathSegLinetoVerticalAbs* imp = V8SVGPathSegLinetoVerticalAbs::toNative(info.Holder()); return v8::Number::New(imp->y()); }