n(a) = Polygon Definition

n(a) = { yappPolygonDef } : Required if shape = yappPolygon specified
  • Predefined Shapes:"

  • shapeIsoTriangle - An Isosceles triangle. Note the width is equal to the bounding width but the height is less.

  • shapeIsoTriangle2 - an Isosceles triangle with the center at the center of the bounding box.

  • shapeHexagon - a hexagon centered in the bounding rectangle.

  • shape6ptStar - a 6 pointed star centered in the bounding rectangle.

  • shapeTriangle - triangle with height and width matching the bounding rectangle but centered in the rectangle.

  • shapeTriangle2- triangle with height and width matching the bounding rectangle. At 90 degree increments the base of the triangle aligns with the bounding box.

  • shapeArrow - Home plate shaped arrow. Useful for buttons.

Notice how the center affects the rotation of the shapes.

see Polygon Definition to create your own polygons.

Last updated