NormalizedSizable

public protocol NormalizedSizable : NormalizedHeightSettable, NormalizedWidthSettable

By conforming to this protocol you indicate, that a sprite model or sprite view supports using a normalized size.

  • The normalized size. width is relative to the width of the untransformed image, height is relative to the height of the untransformed image.

    Declaration

    Swift

    var normalizedSize: CGSize { get set }