Trapezoid
Properties
xNumber
矩形左上角的 x 坐标
默认值:
0yNumber
矩形左上角的 y 坐标
默认值:
0upperWidthNumber
The width of the upper horizontal side of the trapezoid.
默认值:
0lowerWidthNumber
The width of the lower horizontal side of the trapezoid.
默认值:
0heightNumber
矩形的高度。
默认值:
0isUpdateAnimationActiveBoolean
If set to true, trapezoid will update and render with a gradual fade-in animation from left to right.
默认值:
falseonClickFunctionoptional
矩形 click 事件的回调函数。
onMouseDownFunctionoptional
矩形 mousedown 事件的回调函数。
onMouseUpFunctionoptional
矩形 mouseup 事件的回调函数。
onMouseMoveFunctionoptional
矩形 mousemove 事件的回调函数。
onMouseOverFunctionoptional
矩形 mouseover 事件的回调函数。
onMouseOutFunctionoptional
矩形 mouseout 事件的回调函数。
onMouseEnterFunctionoptional
矩形 mouseenter 事件的回调函数。
onMouseLeaveFunctionoptional
矩形 mouseleave 事件的回调函数。