Daniele Segato
09/04/2018, 9:11 AMvar
bypassing a getter?
See the codePavlo Liapota
09/04/2018, 9:23 AMprivate var _aspectRatio: Float = 0f
and use it instead of backing field field
in getter and setter of aspectRatio
property.
Then you can use raw value (i.e. _aspectRatio
property) in your function.Daniele Segato
09/04/2018, 9:27 AM