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.-
ClassDescriptionShape 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 aThrowingFunction4
that throwsNoException
(just a way to avoid throwing stuff), takes in 4 integers (which should be x, y, width, and height), and returns aShape
.A wrapper aroundShapeInfo
to turn it into aUIResource
for use in the Look & Feel.It's aThrowingFunction4
that throwsNoException
(just a way to avoid throwing stuff), takes in 4 integers (which should be x, y, width, and height), and returns anInsets
.A collection ofShapeInfo
s that can be used