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; }
EncodedJSValue jsSVGPathSegLinetoVerticalAbsConstructor(ExecState* exec, EncodedJSValue thisValue, EncodedJSValue, PropertyName) { JSSVGPathSegLinetoVerticalAbs* domObject = jsDynamicCast<JSSVGPathSegLinetoVerticalAbs*>(JSValue::decode(thisValue)); if (!domObject) return throwVMTypeError(exec); if (!domObject) return throwVMTypeError(exec); return JSValue::encode(JSSVGPathSegLinetoVerticalAbs::getConstructor(exec->vm(), domObject->globalObject())); }
EncodedJSValue jsSVGPathSegLinetoVerticalAbsY(ExecState* exec, EncodedJSValue slotBase, EncodedJSValue thisValue, PropertyName) { JSSVGPathSegLinetoVerticalAbs* castedThis = jsDynamicCast<JSSVGPathSegLinetoVerticalAbs*>(JSValue::decode(thisValue)); UNUSED_PARAM(slotBase); if (!castedThis) return throwVMTypeError(exec); UNUSED_PARAM(exec); SVGPathSegLinetoVerticalAbs& impl = castedThis->impl(); JSValue result = jsNumber(impl.y()); return JSValue::encode(result); }
void setJSSVGPathSegLinetoVerticalAbsY(ExecState* exec, EncodedJSValue thisValue, EncodedJSValue encodedValue) { JSValue value = JSValue::decode(encodedValue); UNUSED_PARAM(exec); JSSVGPathSegLinetoVerticalAbs* castedThis = jsDynamicCast<JSSVGPathSegLinetoVerticalAbs*>(JSValue::decode(thisValue)); if (!castedThis) { throwVMTypeError(exec); return; } SVGPathSegLinetoVerticalAbs& impl = castedThis->impl(); float nativeValue(value.toFloat(exec)); if (exec->hadException()) return; impl.setY(nativeValue); }
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)); }
JSValue jsSVGPathSegLinetoVerticalAbsConstructor(ExecState* exec, JSValue slotBase, const Identifier&) { JSSVGPathSegLinetoVerticalAbs* domObject = static_cast<JSSVGPathSegLinetoVerticalAbs*>(asObject(slotBase)); return JSSVGPathSegLinetoVerticalAbs::getConstructor(exec, domObject->globalObject()); }