Commit a8b6d920 by Daniel Dahan

development: moved motion helper properties to internal usage only

parent 5494a142
...@@ -47,4 +47,12 @@ extension MotionAnimation { ...@@ -47,4 +47,12 @@ extension MotionAnimation {
public static func depth(_ preset: DepthPreset) -> MotionAnimation { public static func depth(_ preset: DepthPreset) -> MotionAnimation {
return .depth(DepthPresetToValue(preset: preset).rawValue) return .depth(DepthPresetToValue(preset: preset).rawValue)
} }
/**
Animates the views shadow offset, opacity, and radius using a given Depth.
- Parameter _ preset: A Depth.
*/
public static func depth(_ depth: Depth) -> MotionAnimation {
return .depth(depth.rawValue)
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment