Class ArcDef


  • public final class ArcDef
    extends Struct
    • Constructor Summary

      Constructors 
      Constructor Description
      ArcDef()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ArcDef __assign​(int _i, java.nio.ByteBuffer _bb)  
      void __init​(int _i, java.nio.ByteBuffer _bb)  
      float angleSize()
      Size of the arc measured in radians.
      static int createArcDef​(FlatBufferBuilder builder, float startAngle, float angleSize, float innerRadius, float outerRadius, int numSamples)  
      float innerRadius()
      Inner radius of the arc.
      int numSamples()
      Number of samples used for drawing the arc.
      float outerRadius()
      Outer radius of the arc.
      float startAngle()
      The angle (in radians) in which the start of the arc should be poised at. 0 = vertical [0,1].
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ArcDef

        public ArcDef()
    • Method Detail

      • __init

        public void __init​(int _i,
                           java.nio.ByteBuffer _bb)
      • __assign

        public ArcDef __assign​(int _i,
                               java.nio.ByteBuffer _bb)
      • startAngle

        public float startAngle()
        The angle (in radians) in which the start of the arc should be poised at. 0 = vertical [0,1]. PI = [0,-1], PI/2 = [1,0].
      • angleSize

        public float angleSize()
        Size of the arc measured in radians. PI = half circle, 2 PI = full circle.
      • innerRadius

        public float innerRadius()
        Inner radius of the arc.
      • outerRadius

        public float outerRadius()
        Outer radius of the arc.
      • numSamples

        public int numSamples()
        Number of samples used for drawing the arc.
      • createArcDef

        public static int createArcDef​(FlatBufferBuilder builder,
                                       float startAngle,
                                       float angleSize,
                                       float innerRadius,
                                       float outerRadius,
                                       int numSamples)