Package com.github.tadukoo.view.shapes


package com.github.tadukoo.view.shapes
Contains an enum of Shapes along with a functional interface for creating shapes when passed dimensions. ShapeInfo is used to combine both the functional interface and a method for insets. ShapeInfo is used to combine both the ShapeFunction and the ShapeInsetsFunction into one handy class.
  • Class
    Description
    Shape Drawing Function is generally used to draw a shape or part of one using the given Graphics and the given x, y, width, and height, to support drawing generally sized shapes.
    It's a ThrowingFunction4 that throws NoException (just a way to avoid throwing stuff), takes in 4 integers (which should be x, y, width, and height), and returns a Shape.
    Shape Info contains a method for calculating the Shape and one for calculating the Insets for that Shape.
    A wrapper around ShapeInfo to turn it into a UIResource for use in the Look & Feel.
    It's a ThrowingFunction4 that throws NoException (just a way to avoid throwing stuff), takes in 4 integers (which should be x, y, width, and height), and returns an Insets.
    A collection of ShapeInfos that can be used