本文整理了Java中com.ait.lienzo.client.core.shape.Attributes.setPoints()
方法的一些代码示例,展示了Attributes.setPoints()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Attributes.setPoints()
方法的具体详情如下:
包路径:com.ait.lienzo.client.core.shape.Attributes
类名称:Attributes
方法名:setPoints
暂无
代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-core
/**
* Sets this polygon's points.
*
* @param points a {@link Point2DArray} of 3 or more points
* @return this Polygon
*/
public Polygon setPoints(final Point2DArray points)
{
getAttributes().setPoints(points);
return this;
}
代码示例来源:origin: com.ahome-it/lienzo-core
/**
* Sets the end-points of this line.
* The points should be a 2-element {@link Point2DArray}
*
* @param points
* @return this Line
*/
public Line setPoints(final Point2DArray points)
{
getAttributes().setPoints(points);
return refresh();
}
代码示例来源:origin: com.ahome-it/lienzo-core
/**
* Sets this polygon's points.
*
* @param points a {@link Point2DArray} of 3 or more points
* @return this Polygon
*/
public Polygon setPoints(final Point2DArray points)
{
getAttributes().setPoints(points);
return refresh();
}
代码示例来源:origin: com.ahome-it/lienzo-core
/**
* Sets this PolyLine's points.
* @param points {@link Point2DArray}
* @return this PolyLine
*/
public PolyLine setPoints(final Point2DArray points)
{
getAttributes().setPoints(points);
return refresh();
}
代码示例来源:origin: ahome-it/lienzo-core
/**
* Sets this polygon's points.
*
* @param points a {@link Point2DArray} of 3 or more points
* @return this Polygon
*/
public Polygon setPoints(final Point2DArray points)
{
getAttributes().setPoints(points);
return refresh();
}
代码示例来源:origin: com.ahome-it/lienzo-core
/**
* Sets the end-points of this arrow. The points should be a 2-element {@link Point2DArray}
*
* @param points Point2DArray
* @return this Arrow
*/
public Arrow setPoints(final Point2DArray points)
{
getAttributes().setPoints(points);
invalidatePolygon();
return this;
}
代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-core
/**
* Sets the end-points of this arrow. The points should be a 2-element {@link Point2DArray}
*
* @param points Point2DArray
* @return this Arrow
*/
public Arrow setPoints(Point2DArray points)
{
getAttributes().setPoints(points);
invalidatePolygon();
return this;
}
代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-core
/**
* Sets this PolyLine's points.
* @param points {@link Point2DArray}
* @return this PolyLine
*/
public PolyLine setPoints(final Point2DArray points)
{
getAttributes().setPoints(points);
return refresh();
}
代码示例来源:origin: ahome-it/lienzo-core
/**
* Sets the end-points of this arrow. The points should be a 2-element {@link Point2DArray}
*
* @param points Point2DArray
* @return this Arrow
*/
public Arrow setPoints(final Point2DArray points)
{
getAttributes().setPoints(points);
invalidatePolygon();
return this;
}
代码示例来源:origin: ahome-it/lienzo-core
/**
* Sets the end-points of this line.
* The points should be a 2-element {@link Point2DArray}
*
* @param points
* @return this Line
*/
public Line setPoints(final Point2DArray points)
{
getAttributes().setPoints(points);
return refresh();
}
代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-core
/**
* Sets the end-points of this line.
* The points should be a 2-element {@link Point2DArray}
*
* @param points
* @return this Line
*/
public Line setPoints(final Point2DArray points)
{
getAttributes().setPoints(points);
return refresh();
}
代码示例来源:origin: ahome-it/lienzo-core
/**
* Sets this PolyLine's points.
* @param points {@link Point2DArray}
* @return this PolyLine
*/
public PolyLine setPoints(final Point2DArray points)
{
getAttributes().setPoints(points);
return refresh();
}
代码示例来源:origin: ahome-it/lienzo-core
/**
* Sets this polygon's points.
*
* @param points a {@link Point2DArray} of 3 or more points
* @return this Polygon
*/
public Polygon setPoints(final Point2DArray points)
{
getAttributes().setPoints(points);
return refresh();
}
代码示例来源:origin: ahome-it/lienzo-core
/**
* Sets the end-points of this line.
* The points should be a 2-element {@link Point2DArray}
*
* @param points
* @return this Line
*/
public Line setPoints(final Point2DArray points)
{
getAttributes().setPoints(points);
return refresh();
}
代码示例来源:origin: ahome-it/lienzo-core
/**
* Sets the end-points of this arrow. The points should be a 2-element {@link Point2DArray}
*
* @param points Point2DArray
* @return this Arrow
*/
public Arrow setPoints(final Point2DArray points)
{
getAttributes().setPoints(points);
invalidatePolygon();
return this;
}
代码示例来源:origin: org.dashbuilder/dashbuilder-lienzo-core
@Override
public Triangle setPoint2DArray(final Point2DArray points)
{
while (points.size() > 3)
{
points.pop();
}
getAttributes().setPoints(points);
return this;
}
代码示例来源:origin: ahome-it/lienzo-core
@Override
public Triangle setPoint2DArray(final Point2DArray points)
{
while (points.size() > 3)
{
points.pop();
}
getAttributes().setPoints(points);
return refresh();
}
代码示例来源:origin: com.ahome-it/lienzo-core
@Override
public Triangle setPoint2DArray(final Point2DArray points)
{
while (points.size() > 3)
{
points.pop();
}
getAttributes().setPoints(points);
return refresh();
}
代码示例来源:origin: ahome-it/lienzo-core
@Override
public Triangle setPoint2DArray(final Point2DArray points)
{
while (points.size() > 3)
{
points.pop();
}
getAttributes().setPoints(points);
return refresh();
}
代码示例来源:origin: com.ahome-it/lienzo-charts
@Override
public boolean apply(final Node<?> node, final double percent)
{
node.getAttributes().setPoints(new Point2DArray(new Point2D(caculate(m_orig_0[0], m_targ_0[0], percent), caculate(m_orig_0[1], m_targ_0[1], percent)), new Point2D(caculate(m_orig_1[0], m_targ_1[0], percent), caculate(m_orig_1[1], m_targ_1[1], percent))));
return true;
}
内容来源于网络,如有侵权,请联系作者删除!