BNBPixelRect

Objective-C

@interface BNBPixelRect : NSObject
- (nonnull instancetype)initWithX:(int32_t)x
                                y:(int32_t)y
                                w:(int32_t)w
                                h:(int32_t)h;
+ (nonnull instancetype)pixelRectWithX:(int32_t)x
                                     y:(int32_t)y
                                     w:(int32_t)w
                                     h:(int32_t)h;

@property (nonatomic, readonly) int32_t x;

@property (nonatomic, readonly) int32_t y;

@property (nonatomic, readonly) int32_t w;

@property (nonatomic, readonly) int32_t h;

@end

Swift

class BNBPixelRect : NSObject

Undocumented

  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithX:(int32_t)x
                                    y:(int32_t)y
                                    w:(int32_t)w
                                    h:(int32_t)h;

    Swift

    init(x: Int32, y: Int32, w: Int32, h: Int32)
  • Undocumented

    Declaration

    Objective-C

    + (nonnull instancetype)pixelRectWithX:(int32_t)x
                                         y:(int32_t)y
                                         w:(int32_t)w
                                         h:(int32_t)h;
  • x

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) int32_t x

    Swift

    var x: Int32 { get }
  • y

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) int32_t y

    Swift

    var y: Int32 { get }
  • w

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) int32_t w

    Swift

    var w: Int32 { get }
  • h

    Undocumented

    Declaration

    Objective-C

    @property (nonatomic, readonly) int32_t h

    Swift

    var h: Int32 { get }