com.ait.lienzo.client.core.shape.Rectangle.getAttributes()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(4.2k)|赞(0)|评价(0)|浏览(95)

本文整理了Java中com.ait.lienzo.client.core.shape.Rectangle.getAttributes方法的一些代码示例,展示了Rectangle.getAttributes的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Rectangle.getAttributes方法的具体详情如下:
包路径:com.ait.lienzo.client.core.shape.Rectangle
类名称:Rectangle
方法名:getAttributes

Rectangle.getAttributes介绍

暂无

代码示例

代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-core

/**
 * Sets the radius for this rectangle's rounded corners
 *  
 * @param radius
 * @return this Rectangle
 */
public Rectangle setCornerRadius(final double radius)
{
  getAttributes().setCornerRadius(radius);
  return this;
}

代码示例来源:origin: com.ahome-it/lienzo-core

/**
 * Gets the height of this rectangle.
 *
 * @return double
 */
public double getHeight()
{
  return getAttributes().getHeight();
}

代码示例来源:origin: com.ahome-it/lienzo-core

/**
 * Gets the corner radius, if this rectangle has rounded corners.
 *
 * @return double the value returned is 0 if the rectangle has no rounded corners.
 */
public double getCornerRadius()
{
  return getAttributes().getCornerRadius();
}

代码示例来源:origin: com.ahome-it/lienzo-core

/**
 * Sets the radius for this rectangle's rounded corners
 *
 * @param radius
 * @return this Rectangle
 */
public Rectangle setCornerRadius(final double radius)
{
  getAttributes().setCornerRadius(radius);
  return this;
}

代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-core

/**
 * Gets the width of this rectangle.
 * 
 * @return double
 */
public double getWidth()
{
  return getAttributes().getWidth();
}

代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-core

/**
 * Gets the height of this rectangle.
 * 
 * @return double
 */
public double getHeight()
{
  return getAttributes().getHeight();
}

代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-core

/**
 * Sets the height of this rectangle.
 * 
 * @param height
 * @return this Rectangle
 */
public Rectangle setHeight(final double height)
{
  getAttributes().setHeight(height);
  return this;
}

代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-core

/**
 * Gets the corner radius, if this rectangle has rounded corners.
 * 
 * @return double the value returned is 0 if the rectangle has no rounded corners.
 */
public double getCornerRadius()
{
  return getAttributes().getCornerRadius();
}

代码示例来源:origin: com.ahome-it/lienzo-core

/**
 * Gets the width of this rectangle.
 *
 * @return double
 */
public double getWidth()
{
  return getAttributes().getWidth();
}

代码示例来源:origin: com.ahome-it/lienzo-core

/**
 * Gets the height of this rectangle.
 *
 * @param width
 * @return this Rectangle
 */
public Rectangle setWidth(final double width)
{
  getAttributes().setWidth(width);
  return this;
}

代码示例来源:origin: com.ahome-it/lienzo-core

/**
 * Sets the height of this rectangle.
 *
 * @param height
 * @return this Rectangle
 */
public Rectangle setHeight(final double height)
{
  getAttributes().setHeight(height);
  return this;
}

代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-core

/**
 * Gets the height of this rectangle.
 * 
 * @param width
 * @return this Rectangle
 */
public Rectangle setWidth(final double width)
{
  getAttributes().setWidth(width);
  return this;
}

代码示例来源:origin: ahome-it/lienzo-core

/**
 * Gets the width of this rectangle.
 *
 * @return double
 */
public double getWidth()
{
  return getAttributes().getWidth();
}

代码示例来源:origin: ahome-it/lienzo-core

/**
 * Gets the height of this rectangle.
 *
 * @return double
 */
public double getHeight()
{
  return getAttributes().getHeight();
}

代码示例来源:origin: ahome-it/lienzo-core

/**
 * Sets the height of this rectangle.
 *
 * @param height
 * @return this Rectangle
 */
public Rectangle setHeight(final double height)
{
  getAttributes().setHeight(height);
  return this;
}

代码示例来源:origin: ahome-it/lienzo-core

/**
 * Gets the corner radius, if this rectangle has rounded corners.
 *
 * @return double the value returned is 0 if the rectangle has no rounded corners.
 */
public double getCornerRadius()
{
  return getAttributes().getCornerRadius();
}

代码示例来源:origin: ahome-it/lienzo-core

/**
 * Gets the height of this rectangle.
 *
 * @param width
 * @return this Rectangle
 */
public Rectangle setWidth(final double width)
{
  getAttributes().setWidth(width);
  return this;
}

代码示例来源:origin: ahome-it/lienzo-core

/**
 * Gets the corner radius, if this rectangle has rounded corners.
 *
 * @return double the value returned is 0 if the rectangle has no rounded corners.
 */
public double getCornerRadius()
{
  return getAttributes().getCornerRadius();
}

代码示例来源:origin: ahome-it/lienzo-core

/**
 * Sets the height of this rectangle.
 *
 * @param height
 * @return this Rectangle
 */
public Rectangle setHeight(final double height)
{
  getAttributes().setHeight(height);
  return this;
}

代码示例来源:origin: ahome-it/lienzo-core

/**
 * Gets the width of this rectangle.
 *
 * @return double
 */
public double getWidth()
{
  return getAttributes().getWidth();
}

相关文章