MutableImageAppearance

@objc(YMAMutableImageAppearance)
@objcMembers
public class MutableImageAppearance : ImageAppearance

Class with editable settings for the standard image appearance.

  • Limits the width of the image.

    Declaration

    Swift

    override public var widthConstraint: SizeConstraint { get set }
  • Corresponding immutable representation of current image appearance.

    Declaration

    Swift

    public var imageAppearance: ImageAppearance { get }
  • Undocumented

    Declaration

    Swift

    public convenience init()
  • Creates an object of the MutableImageAppearance class, i.e., an image with the specified sizing constraint.

    Declaration

    Swift

    public required convenience init(widthConstraint: SizeConstraint)

    Parameters

    widthConstraint

    Limits the width of the image.

    Return Value

    Configured image appearance.

NSCopying

  • Undocumented

    Declaration

    Swift

    override public func copy(with zone: NSZone? = nil) -> Any