kyrie / com.github.alexjlockwood.kyrie

Package com.github.alexjlockwood.kyrie

Types

Animation

class Animation<T, V>

An Animation encapsulates the information required to animate a single property of a Node.

CircleNode

class CircleNode : RenderNode

A Node that paints a circle.

ClipPathNode

class ClipPathNode : TransformNode

A Node that defines a region to be clipped. Note that a ClipPathNode only clips its sibling Nodes.

ClipType

enum class ClipType

Determines the clipping strategy of a ClipPathNode.

EllipseNode

class EllipseNode : RenderNode

A Node that paints an ellipse.

FillType

enum class FillType

Fill type determines how a shape should be filled when painted.

GroupNode

class GroupNode : TransformNode

A Node that holds a group of children Nodes.

Keyframe

class Keyframe<T>

This class holds a time/value pair for an animation. A Keyframe is used to define the values that the animation target will have over the course of the animation. As the time proceeds from one keyframe to the other, the value of the target will animate between the value at the previous keyframe and the value at the next keyframe. Each keyframe also holds an optional TimeInterpolator object, which defines the time interpolation over the inter-value preceding the keyframe.

KyrieDrawable

class KyrieDrawable : Drawable, Animatable

An animatable drawable based on scalable vector graphics.

LineNode

class LineNode : RenderNode

A Node that paints a line.

Node

abstract class Node

Base class for all Nodes used to construct and animate a KyrieDrawable.

PathData

class PathData

A simple container class that represents an SVG path string.

PathNode

class PathNode : RenderNode

A Node that paints a path.

RectangleNode

class RectangleNode : RenderNode

A Node that paints a rectangle.

RenderNode

abstract class RenderNode : TransformNode

Abstract base Node for all node types that paint to the canvas.

StrokeLineCap

enum class StrokeLineCap

Stroke line cap determines the shape that should be used at the corners of stroked paths.

StrokeLineJoin

enum class StrokeLineJoin

Stroke line join determines the shape that should be used at the ends of a stroked sub-path.

TransformNode

abstract class TransformNode : Node

Abstract base Node for all node types that can be transformed.

Extensions for External Classes

kotlin.String

Functions

circle

fun KyrieDrawable.Builder.circle(init: CircleNode.Builder.() -> Unit): Unit
fun GroupNode.Builder.circle(init: CircleNode.Builder.() -> Unit): GroupNode.Builder

clipPath

fun KyrieDrawable.Builder.clipPath(init: ClipPathNode.Builder.() -> Unit): Unit
fun GroupNode.Builder.clipPath(init: ClipPathNode.Builder.() -> Unit): GroupNode.Builder

ellipse

fun KyrieDrawable.Builder.ellipse(init: EllipseNode.Builder.() -> Unit): Unit
fun GroupNode.Builder.ellipse(init: EllipseNode.Builder.() -> Unit): GroupNode.Builder

group

fun KyrieDrawable.Builder.group(init: GroupNode.Builder.() -> Unit): Unit
fun GroupNode.Builder.group(init: GroupNode.Builder.() -> Unit): GroupNode.Builder

kyrieDrawable

fun kyrieDrawable(init: KyrieDrawable.Builder.() -> Unit): KyrieDrawable

line

fun KyrieDrawable.Builder.line(init: LineNode.Builder.() -> Unit): Unit
fun GroupNode.Builder.line(init: LineNode.Builder.() -> Unit): GroupNode.Builder

path

fun KyrieDrawable.Builder.path(init: PathNode.Builder.() -> Unit): Unit
fun GroupNode.Builder.path(init: PathNode.Builder.() -> Unit): GroupNode.Builder

rectangle

fun KyrieDrawable.Builder.rectangle(init: RectangleNode.Builder.() -> Unit): Unit
fun GroupNode.Builder.rectangle(init: RectangleNode.Builder.() -> Unit): GroupNode.Builder