Class TriangleShapeLayer

    • Constructor Summary

      Constructors 
      Constructor Description
      TriangleShapeLayer​(com.microej.script.ast.expressions.Expression x, com.microej.script.ast.expressions.Expression y, com.microej.script.ast.expressions.Expression r, com.microej.script.ast.expressions.Expression opacity, boolean isThemed, java.lang.Object extraField, int color, com.microej.script.ast.expressions.Expression strokeSize, int shapeOpt, com.microej.script.ast.expressions.Expression radius)
      Creates a triangle shape layer.
    • Constructor Detail

      • TriangleShapeLayer

        public TriangleShapeLayer​(com.microej.script.ast.expressions.Expression x,
                                  com.microej.script.ast.expressions.Expression y,
                                  com.microej.script.ast.expressions.Expression r,
                                  com.microej.script.ast.expressions.Expression opacity,
                                  boolean isThemed,
                                  java.lang.Object extraField,
                                  int color,
                                  com.microej.script.ast.expressions.Expression strokeSize,
                                  int shapeOpt,
                                  com.microej.script.ast.expressions.Expression radius)
        Creates a triangle shape layer.
        Parameters:
        x - the x coordinate of the layer.
        y - the y coordinate of the layer.
        r - the rotation angle of the layer.
        opacity - the opacity of the layer.
        isThemed - whether the layer is themed.
        extraField - the extra field of the layer.
        color - the color of the layer.
        strokeSize - the stroke size of the layer.
        shapeOpt - the option of the layer (see ShapeOptions).
        radius - the radius of the layer.
    • Method Detail

      • getShapeType

        public int getShapeType()
        Description copied from class: ShapeLayer
        Returns the shape type of this layer.
        Specified by:
        getShapeType in class ShapeLayer
        Returns:
        the shape type of this layer (see ShapeTypes).
      • getRadius

        public com.microej.script.ast.expressions.Expression getRadius()
        Returns the radius of this layer.
        Returns:
        the radius of this layer.