RGLElementRect

Objective-C

@interface RGLElementRect : NSObject

@property(nonatomic, assign, readonly) NSInteger bottom;
@property(nonatomic, assign, readonly) NSInteger left;
@property(nonatomic, assign, readonly) NSInteger right;
@property(nonatomic, assign, readonly) NSInteger top;

- (instancetype _Nonnull)initWithLeft:(NSInteger)left top:(NSInteger)top right:(NSInteger)right bottom:(NSInteger)bottom;
- (instancetype _Nonnull)initWithJSON:(NSDictionary *_Nonnull)json;
+ (instancetype _Nonnull)initWithJSON:(NSDictionary * _Nonnull)json;
- (NSDictionary *_Nonnull)jsonDictionary;

@end

Swift

class ElementRect : NSObject

Undocumented

  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, assign, readonly) NSInteger bottom

    Swift

    var bottom: Int { get }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, assign, readonly) NSInteger left

    Swift

    var left: Int { get }
  • Undocumented

    Declaration

    Objective-C

    @property(nonatomic, assign, readonly) NSInteger right

    Swift

    var right: Int { get }
  • top

    Undocumented

    Declaration

    Objective-C

    @property(nonatomic, assign, readonly) NSInteger top

    Swift

    var top: Int { get }
  • Undocumented

    Declaration

    Objective-C

    - (instancetype _Nonnull)initWithLeft:(NSInteger)left top:(NSInteger)top right:(NSInteger)right bottom:(NSInteger)bottom;

    Swift

    init(left: Int, top: Int, right: Int, bottom: Int)
  • Undocumented

    Declaration

    Objective-C

    - (instancetype _Nonnull)initWithJSON:(NSDictionary *_Nonnull)json;

    Swift

    init(json: [AnyHashable : Any])
  • Undocumented

    Declaration

    Objective-C

    + (instancetype _Nonnull)initWithJSON:(NSDictionary * _Nonnull)json;

    Swift

    class func initWithJSON(_ json: [AnyHashable : Any]) -> Self
  • Undocumented

    Declaration

    Objective-C

    - (NSDictionary *_Nonnull)jsonDictionary;

    Swift

    func jsonDictionary() -> [AnyHashable : Any]