Material Motion Exploring solutions that will empower creators with the tools needed to describe and implement rich, interactive motion on any platform. Edit this page · History
ReactiveProperty TransformableElement specification
Status Library
Draft as of December 20, 2016 streams

TransformableElement specification

This is the engineering specification for the TransformableElement abstract type.


A transformable element has independent rotation, scale, and translation properties.


Expose a TransformableElement abstract type

public protocol TransformableElement

Expose reactive properties

All properties should be constant.

protocol TransformableElement {
  let position: ReactiveProperty<Point>
  let rotation: ReactiveProperty<Number>
  let scale: ReactiveProperty<Number>
  let transform: ReactiveProperty<Transform>