43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
* @brief The value as a non-retained object.
*
* If the value is not pointer-sized, @ref OFOutOfRangeException is thrown.
*/
@property (readonly, nonatomic) id nonretainedObjectValue;
/**
* @brief The value as a range.
*
* If the value is not range-sized, @ref OFOutOfRangeException is thrown.
*/
@property (readonly, nonatomic) OFRange rangeValue;
/**
* @brief The value as a point.
*
* If the value is not point-sized, @ref OFOutOfRangeException is thrown.
*/
@property (readonly, nonatomic) OFPoint pointValue;
/**
* @brief The value as a dimension.
*
* If the value is not dimension-sized, @ref OFOutOfRangeException is thrown.
*/
@property (readonly, nonatomic) of_dimension_t dimensionValue;
/**
* @brief The value as a rectangle.
*
* If the value is not rectangle-sized, @ref OFOutOfRangeException is thrown.
*/
@property (readonly, nonatomic) of_rectangle_t rectangleValue;
|
|
|
|
|
|
|
|
|
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
* @brief The value as a non-retained object.
*
* If the value is not pointer-sized, @ref OFOutOfRangeException is thrown.
*/
@property (readonly, nonatomic) id nonretainedObjectValue;
/**
* @brief The value as an OFRange.
*
* If the value is not OFRange-sized, @ref OFOutOfRangeException is thrown.
*/
@property (readonly, nonatomic) OFRange rangeValue;
/**
* @brief The value as an OFPoint.
*
* If the value is not OFPoint-sized, @ref OFOutOfRangeException is thrown.
*/
@property (readonly, nonatomic) OFPoint pointValue;
/**
* @brief The value as an OFSize.
*
* If the value is not OFSize-sized, @ref OFOutOfRangeException is thrown.
*/
@property (readonly, nonatomic) OFSize sizeValue;
/**
* @brief The value as a rectangle.
*
* If the value is not rectangle-sized, @ref OFOutOfRangeException is thrown.
*/
@property (readonly, nonatomic) of_rectangle_t rectangleValue;
|
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
|
*
* @param point The point the OFValue should contain
* @return A new, autoreleased OFValue
*/
+ (instancetype)valueWithPoint: (OFPoint)point;
/**
* @brief Creates a new, autoreleased OFValue containing the specified
* dimension.
*
* @param dimension The dimension the OFValue should contain
* @return A new, autoreleased OFValue
*/
+ (instancetype)valueWithDimension: (of_dimension_t)dimension;
/**
* @brief Creates a new, autoreleased OFValue containing the specified
* rectangle.
*
* @param rectangle The rectangle the OFValue should contain
* @return A new, autoreleased OFValue
|
|
<
|
|
|
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
|
*
* @param point The point the OFValue should contain
* @return A new, autoreleased OFValue
*/
+ (instancetype)valueWithPoint: (OFPoint)point;
/**
* @brief Creates a new, autoreleased OFValue containing the specified size.
*
* @param size The size the OFValue should contain
* @return A new, autoreleased OFValue
*/
+ (instancetype)valueWithSize: (OFSize)size;
/**
* @brief Creates a new, autoreleased OFValue containing the specified
* rectangle.
*
* @param rectangle The rectangle the OFValue should contain
* @return A new, autoreleased OFValue
|