CTLine.GetBounds(CTLineBoundsOptions) 方法

定义

根据指定的 CTLineBoundsOptions返回作为矩形的线条的边界。

public CoreGraphics.CGRect GetBounds (CoreText.CTLineBoundsOptions options);
member this.GetBounds : CoreText.CTLineBoundsOptions -> CoreGraphics.CGRect

参数

options
CTLineBoundsOptions

确定要返回的版式信息的类型。

返回

基于在选项上传递的参数的边界矩形。

注解

此函数可以根据传递的选项返回不同的边界。

适用于