BNBAcneRegions

Objective-C

@interface BNBAcneRegions : NSObject
- (nonnull instancetype)initWithRegions:(nonnull NSArray<BNBPixelRect *> *)regions
                         basisTransform:(nonnull NSArray<NSNumber *> *)basisTransform;
+ (nonnull instancetype)acneRegionsWithRegions:(nonnull NSArray<BNBPixelRect *> *)regions
                                basisTransform:(nonnull NSArray<NSNumber *> *)basisTransform;

@property (nonatomic, readonly, nonnull) NSArray<BNBPixelRect *> * regions;

/** (common -> rect) transformation */
@property (nonatomic, readonly, nonnull) NSArray<NSNumber *> * basisTransform;

@end

Swift

class BNBAcneRegions : NSObject

Undocumented

  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithRegions:(nonnull NSArray<BNBPixelRect *> *)regions
                             basisTransform:(nonnull NSArray<NSNumber *> *)basisTransform;

    Swift

    init(regions: [BNBPixelRect], basisTransform: [NSNumber])
  • Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)acneRegionsWithRegions:(nonnull NSArray<BNBPixelRect *> *)regions
                                    basisTransform:(nonnull NSArray<NSNumber *> *)basisTransform;
  • Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly, nonnull) NSArray<BNBPixelRect *> * regions

    Swift

    var regions: [BNBPixelRect] { get }
  • (common -> rect) transformation

    Declaration

    Objective-C

    @property (nonatomic, readonly, nonnull) NSArray<NSNumber *> *basisTransform;

    Swift

    var basisTransform: [NSNumber] { get }