CTFramesetter.h

2016-09-28  本文已影响67人  Laughingg
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

上一篇下一篇

猜你喜欢

热点阅读