Shapes

There are six shapes for cutouts: yappRectangle, rectangles with rounded corners, circles , circles with flat sides, circles with a key and polygons.

  • yappRectangle

  • yappRoundedRect

  • yappCircle

  • yappCircleWithFlats

  • yappCircleWithKey

  • yappPolygon

  • yappRectangle

    • Uses the width and length parameters. radius is ignored

  • yappRoundedRect

    • Uses the width and length parameters to define the rectangle and radius for the corner radius.

  • yappCircle

    • Uses the radius parameter. Width and length are ignored.

  • yappCircleWithFlats

    • Uses the radius parameters and the width parameter for the distance between the flat sides.

  • yappCircleWithKey

    • Uses the radius parameters and the width parameter for the width of the key and the length as the depth of the key.

  • yappPolygon

    • Uses the width and length parameters to scale the polygon. The polygon should be defined with a base size of 1x1 (-0.5 to 0.5 in both X and Y). A yappPolygonDef is required.

Last updated