TIFFImageWindow
Objective-C
@interface TIFFImageWindow : NSObject
Swift
class TIFFImageWindow : NSObject
Coordinates of a window over a portion or the entire image coordinates
-
Min x
Declaration
Objective-C
@property int minX;
Swift
var minX: Int32 { get set }
-
Min y
Declaration
Objective-C
@property int minY;
Swift
var minY: Int32 { get set }
-
Max x
Declaration
Objective-C
@property int maxX;
Swift
var maxX: Int32 { get set }
-
Max y
Declaration
Objective-C
@property int maxY;
Swift
var maxY: Int32 { get set }
-
Initialize
Declaration
Objective-C
- (instancetype)initWithMinX:(int)minX andMinY:(int)minY andMaxX:(int)maxX andMaxY:(int)maxY;
Swift
init!(minX: Int32, andMinY minY: Int32, andMaxX maxX: Int32, andMaxY maxY: Int32)
Parameters
minX
min x (inclusive)
minY
min y (inclusive)
maxX
max x (exclusive)
maxY
max y (exclusive)
-
Initialize for a single coordinate
Declaration
Objective-C
- (instancetype)initWithX:(int)x andY:(int)y;
Swift
init!(x: Int32, andY y: Int32)
Parameters
x
x coordinate
y
y coordinate
-
Initialize, full image size
Declaration
Objective-C
- (instancetype)initWithFileDirectory:(TIFFFileDirectory *)fileDirectory;
Swift
init!(fileDirectory: TIFFFileDirectory!)
Parameters
fileDirectory
file directory