InlinePointsShape.kl¶
Types¶
InlinePointsShape (object)¶
バージョン 1.12.0 で追加.
The InlinePointsShape inherits from the InlineGeometryShape object. It provides a shape type for Points objects for direct rendering. The InlinePointsShape keeps a reference to the points, so if the points change (being deformed etc) the shape will updates its buffers automatically.
Members¶
| Scalar | pointSize | 
/*
** Example: InlinePointsShape
*/
require InlineDrawing;
  
operator entry() {
      // create some points
      Points points = Points();
      points.addPoints(12);
      
      // create a shape
      InlineShape shape = InlinePointsShape('points', points);
  
}
/*
** Output:
*/
Methods¶
| InlinePointsShape ( in InlinePointsShape other ) | |
| InlinePointsShape ( in String name, in Points points ) | |
| InlinePointsShape () | |
| InlinePointsShape | clone ? () | 
| Scalar | getPointSize ? () | 
| Ref<Points> | getPoints ? () | 
| setPointSize ! ( in Scalar pointSize ) | |
| setPoints ! ( in Points points ) | 
