androidx.ink.geometry


Annotations

AngleDegreesFloat

A signed angle in degrees.

AngleRadiansFloat

A signed angle in radians.

Classes

AffineTransform

An affine transformation in the plane.

Box

Represents an axis-aligned rectangle.

BoxAccumulator

A helper class for accumulating the minimum bounding boxes of zero or more geometry objects.

ImmutableAffineTransform

An affine transformation in the plane.

ImmutableBox

An immutable axis-aligned rectangle.

ImmutableParallelogram

Immutable parallelogram (i.e. a quadrilateral with parallel sides), defined by its center, width, height, rotation, and shearFactor.

ImmutableSegment

Represents a directed line segment between two points.

ImmutableTriangle

An immutable triangle, defined by its three corners p0, p1 and p2 in order.

ImmutableVec

An immutable two-dimensional vector, i.e. an (x, y) coordinate pair.

MutableAffineTransform

An affine transformation in the plane.

MutableBox

A mutable axis-aligned rectangle.

MutableParallelogram

Mutable parallelogram (i.e. a quadrilateral with parallel sides), defined by its center, width, height, rotation, and shearFactor.

MutableSegment

Represents a mutable directed line segment between two points.

MutableTriangle

Represents a mutable triangle, defined by its three corners p0, p1 and p2 in order.

MutableVec

A mutable two-dimensional vector, i.e. an (x, y) coordinate pair.

Parallelogram

This class represents a parallelogram (i.e. a quadrilateral with parallel sides), defined by its center, width, height, rotation, and shearFactor.

PartitionedMesh

An immutable** complex shape expressed as a set of triangles.

Segment

Represents a directed line segment between two points.

Triangle

A triangle defined by its three corners p0, p1 and p2.

Vec

A two-dimensional vector, i.e. an (x, y) coordinate pair.

Angle

A utility for working with a signed angle.

Intersection

Contains functions for intersection of ink geometry classes.