UniPRT SDK v1.0.0.0
 
載入中...
搜尋中...
無符合項目
_PglBox 類別 參考文件

表示一個盒子形狀的類。 更多...

#include <_PglBox.h>

類別_PglBox的繼承圖:
<IBox>

實體方法

(instancetype) - initWithStart:end:lineThickness:
 使用指定的起始點、結束點和線條厚度初始化 _PglBox 類的新實例。
 
(instancetype) - initWithXStart:yStart:xEnd:yEnd:lineThickness:
 使用指定的起始坐標、結束坐標和線條厚度初始化 _PglBox 類的新實例。
 
(NSString *) - description
 返回描述接收者內容的字符串。
 

屬性(properties)

id< IRulerruler
 用於測量盒子的尺子。
 
id< IPointstart
 盒子的起始點。
 
id< IPointend
 盒子的結束點。
 
float lineThickness
 盒子線條的厚度。
 
float cornerRounding
 盒子角落的圓角半徑。
 
- 屬性(properties) 繼承自 <IBox>
id< IRulerruler
 用於放置的標尺。如果未設置,則使用默認的標尺設置。
 
id< IPointstart
 盒子的左上角。
 
id< IPointend
 盒子的右下角。
 
float lineThickness
 基於使用的標尺單位的線條厚度。
 
float cornerRounding
 盒子角的圓角值。
 

詳細描述

表示一個盒子形狀的類。

該類實現了 IBox 協議,並提供了初始化和描述盒子的功能。

方法文件

◆ description

- (NSString *) description

返回描述接收者內容的字符串。

傳回值
_PglBox 實例的字符串描述。

◆ initWithStart:end:lineThickness:

- (instancetype) initWithStart: (id< IPoint >) start
end: (id< IPoint >) end
lineThickness: (float) lineThickness 

使用指定的起始點、結束點和線條厚度初始化 _PglBox 類的新實例。

參數
start盒子的起始點。
end盒子的結束點。
lineThickness盒子線條的厚度。
傳回值
_PglBox 的新實例。

◆ initWithXStart:yStart:xEnd:yEnd:lineThickness:

- (instancetype) initWithXStart: (float) xStart
yStart: (float) yStart
xEnd: (float) xEnd
yEnd: (float) yEnd
lineThickness: (float) lineThickness 

使用指定的起始坐標、結束坐標和線條厚度初始化 _PglBox 類的新實例。

參數
xStart起始點的 x 坐標。
yStart起始點的 y 坐標。
xEnd結束點的 x 坐標。
yEnd結束點的 y 坐標。
lineThickness盒子線條的厚度。
傳回值
_PglBox 的新實例。

屬性(property)說明文件

◆ cornerRounding

- (float) cornerRounding
readwritenonatomicassign

盒子角落的圓角半徑。

◆ end

- (id<IPoint>) end
readwritenonatomicstrong

盒子的結束點。

◆ lineThickness

- (float) lineThickness
readwritenonatomicassign

盒子線條的厚度。

◆ ruler

- (id<IRuler>) ruler
readwritenonatomicstrong

用於測量盒子的尺子。

◆ start

- (id<IPoint>) start
readwritenonatomicstrong

盒子的起始點。


此類別(class) 文件是由下列檔案中產生: