public class CTFramesetter {
}
public func CTFramesetterGetTypeID() -> CFTypeID
/* Framesetter Creation */
@available(iOS 3.2, *)
public func CTFramesetterCreateWithAttributedString(_ string: CFAttributedString) -> CTFramesetter
/* Frame Creation */
public func CTFramesetterCreateFrame(_ framesetter: CTFramesetter, _ stringRange: CFRange, _ path: CGPath, _ frameAttributes: CFDictionary?) -> CTFrame
@available(iOS 3.2, *)
public func CTFramesetterGetTypesetter(_ framesetter: CTFramesetter) -> CTTypesetter
/* Frame Sizing */
public func CTFramesetterSuggestFrameSizeWithConstraints(_ framesetter: CTFramesetter, _ stringRange: CFRange, _ frameAttributes: CFDictionary?, _ constraints: CGSize, _ fitRange: UnsafeMutablePointer<CFRange>?) -> CGSize
网友评论