public T setFillShapeForSelection(boolean selection) { getAttributes().setFillShapeForSelection(selection); return cast(); }
/** * Sets the gradient fill. * * @param gradient a {@link PatternGradient} * @return T */ public T setFillGradient(PatternGradient gradient) { getAttributes().setFillGradient(gradient); return cast(); }
/** * Sets the x coordinate for this shape. * * @param x * @return T */ @Override public T setX(double x) { getAttributes().setX(x); return cast(); }
/** * Sets the y coordinate for this shape. * * @param y * @return T */ @Override public T setY(double y) { getAttributes().setY(y); return cast(); }
/** * Sets if this shape can be dragged or not. * * @return T */ @Override public T setDraggable(boolean draggable) { getAttributes().setDraggable(draggable); return cast(); }
/** * Sets this shape's scale, starting at the given point. * * @param scale * @return T */ @Override public T setScale(Point2D scale) { getAttributes().setScale(scale); return cast(); }
/** * Sets this shape's offset * * @param offset * @return T */ @Override public T setOffset(Point2D offset) { getAttributes().setOffset(offset); return cast(); }
/** * Sets the alpha color on this shape. * * @param alpha * @return T */ @Override public T setAlpha(double alpha) { getAttributes().setAlpha(alpha); return cast(); }
/** * Sets the type of {@link LineJoin} for this shape. * * @param linejoin * @return T */ public T setLineJoin(LineJoin linejoin) { getAttributes().setLineJoin(linejoin); return cast(); }
/** * Sets the value of Miter Limit for this shape. * * @param limit * @return T */ public T setMiterLimit(double limit) { getAttributes().setMiterLimit(limit); return cast(); }
/** * Sets the dash array. * * @param array contains dash lengths * @return this Line */ public T setDashArray(DashArray array) { getAttributes().setDashArray(array); return cast(); }
public T setDashOffset(double offset) { getAttributes().setDashOffset(offset); return cast(); }
/** * Sets this group's rotation, in degrees. * * @param degrees * @return T */ @Override public T setRotationDegrees(double degrees) { getAttributes().setRotationDegrees(degrees); return cast(); }
/** * Sets this shape's drag bounds. * * @param bounds * @return T */ @Override public T setDragBounds(DragBounds bounds) { getAttributes().setDragBounds(bounds); return cast(); }
/** * Sets the gradient fill. * * @param gradient a {@link RadialGradient} * @return T */ public T setFillGradient(RadialGradient gradient) { getAttributes().setFillGradient(gradient); return cast(); }
/** * Sets this shape's {@link Shadow} * * @param shadow * @return T */ public T setShadow(Shadow shadow) { getAttributes().setShadow(shadow); return cast(); }
/** * Sets the fill color. * * @param color in hex * @return T */ public T setFillColor(String color) { getAttributes().setFillColor(color); return cast(); }
/** * Sets the gradient fill. * * @param gradient a {@link LinearGradient} * @return T */ public T setFillGradient(LinearGradient gradient) { getAttributes().setFillGradient(gradient); return cast(); }
/** * Sets the type of {@link LineCap} for this shape. * * @param linecap * @return T */ public T setLineCap(LineCap linecap) { getAttributes().setLineCap(linecap); return cast(); }
/** * Sets the X and Y attributes to P.x and P.y * * @param p Point2D * @return this Shape */ @Override public T setLocation(Point2D p) { setX(p.getX()); setY(p.getY()); return cast(); }