YMAImageAppearance Class Reference

Inherits from NSObject
Conforms to NSCopying
NSMutableCopying
Declared in YMANativeAssetsAppearance.h

Overview

Class with standard image appearance settings (non-editable).

If you want to edit the settings of the standard appearance, use the YMAMutableRatingAppearance class.

  1. Properties
    1. widthConstraint
  2. Methods
    1. + appearanceWithWidthConstraint:

Properties

widthConstraint

Limits the width of the image (YMASizeConstraint).

@property (nonatomic, strong, readonly) YMASizeConstraint *widthConstraint

Methods

+ appearanceWithWidthConstraint:

Creates an object of the YMAImageAppearance class, i.e., an image with the specified sizing constraint.

+ (instancetype)appearanceWithWidthConstraint:(YMASizeConstraint *)widthConstraint

Parameters

widthConstraint

Limits the width of the image (YMASizeConstraint).

Return Value

Configured image appearance.


Generated by appledoc 2.2.1 (build 1334).