public class Rect extends Widget<SVGRectElement,Rect> implements HasFill<Rect>, HasStroke<Rect>, HasFilter<Rect>
contextMenu, contextMenuHandlerRegistration, currentHeight, currentWidth, enabled, NATIVE_CONTEXT_MENU_HANDLER| Constructor and Description |
|---|
Rect() |
Rect(double x,
double y,
double width,
double height) |
| Modifier and Type | Method and Description |
|---|---|
Fill<?> |
getFill() |
Filter |
getFilter() |
Double |
getRX() |
Double |
getRY() |
Stroke |
getStroke() |
void |
set(double x,
double y,
double width,
double height) |
Rect |
setBorderRadius(double radius) |
Rect |
setBorderRadius(Double radius) |
Rect |
setBorderRadius(Double radius,
Unit unit) |
Rect |
setFill(Fill<?> fill) |
Rect |
setFilter(Filter filter) |
Rect |
setHeight(double height) |
void |
setHeight(String height) |
void |
setSize(String width,
String height) |
Rect |
setStroke(Stroke stroke) |
Rect |
setWidth(double width) |
void |
setWidth(String width) |
void |
setX(double x) |
void |
setX(String x) |
void |
setXY(double x,
double y) |
void |
setY(double y) |
void |
setY(String y) |
add, addActionHandler, addClassName, addDoubleActionHandler, addDoubleTapHandler, addDropTarget, addEventHandler, addEventHandler, addResizeHandler, addStyleName, addTapHandler, addTouchHoldHandler, canDropTargetAccept, cast, clear, clearBackgroundColor, clearDropTargets, clearTextColor, ensureHandlers, fireEvent, fireEvent, fireResizeEvent, getAbsoluteLeft, getAbsoluteTop, getAncestor, getChildren, getChildrenCount, getComputedStyle, getContextMenu, getContextMenuHandler, getDeepestWidget, getDragSource, getDropTargetList, getElement, getFirstChild, getId, getLastChild, getNextSibling, getNextSibling, getOffsetHeight, getOffsetWidth, getParent, getScrollLeft, getScrollTop, getStyle, hasClassName, hasFocus, insert, isAttached, isDropTarget, isEnabled, isInEventThread, onAttach, onDetach, remove, removeClassName, removeDropTarget, removeStyleName, setBackgroundColor, setClassName, setContextMenu, setDragSource, setDropTarget, setEnabled, setHeight, setHeight, setId, setLeft, setLeftAndTop, setMaxHeight, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setMinWidth, setParent, setPixelSize, setScrollLeft, setScrollTop, setSize, setTextAlign, setTextColor, setTop, setWidth, setWidthclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancelMeasure, cancelMutation, measureAsSoonAsPossible, mutateAsSoonAsPossible, mutateAsSoonAsPossible, scheduleMeasure, scheduleMutationaddAttachHandleraddDetachHandleraddTransitionEndHandler, addTransitionEndHandleraddMouseDownHandler, addMouseDownHandleraddMouseMoveHandler, addMouseMoveHandleraddMouseOutHandler, addMouseOutHandleraddMouseOverHandler, addMouseOverHandleraddMouseUpHandler, addMouseUpHandleraddWheelHandler, addWheelHandleraddClickHandler, addClickHandleraddDoubleClickHandler, addDoubleClickHandleraddContextMenuHandler, addContextMenuHandleraddTouchStartHandler, addTouchStartHandleraddTouchMoveHandler, addTouchMoveHandleraddTouchForceChangeHandler, addTouchForceChangeHandleraddTouchEndHandler, addTouchEndHandleraddTouchCancelHandler, addTouchCancelHandleraddTouchHoldHandleraddTapHandleraddDoubleTapHandleraddKeyDownHandler, addKeyDownHandleraddKeyUpHandler, addKeyUpHandleraddKeyPressHandler, addKeyPressHandleraddScrollHandler, addScrollHandleraddAnimationStartHandler, addAnimationStartHandleraddAnimationIterationHandler, addAnimationIterationHandleraddAnimationEndHandler, addAnimationEndHandleraddActionHandleraddDoubleActionHandlerpublic Rect()
public Rect(double x,
double y,
double width,
double height)
public void set(double x,
double y,
double width,
double height)
public void setXY(double x,
double y)
public void setX(double x)
public void setY(double y)
public Rect setWidth(double width)
setWidth in class Widget<SVGRectElement,Rect>public Rect setHeight(double height)
setHeight in class Widget<SVGRectElement,Rect>public void setX(String x)
public void setY(String y)
public void setWidth(String width)
public void setHeight(String height)
public Rect setBorderRadius(double radius)
public Double getRX()
public Double getRY()
Copyright © 2018 Xalys. All rights reserved.