NSLayoutManager.DrawStrikethrough 메서드

정의

의 문자 모양을 통해 취소선을 그립니다.

[Foundation.Export("drawStrikethroughForGlyphRange:strikethroughType:baselineOffset:lineFragmentRect:lineFragmentGlyphRange:containerOrigin:")]
public virtual void DrawStrikethrough (Foundation.NSRange glyphRange, Foundation.NSUnderlineStyle strikethroughVal, nfloat baselineOffset, CoreGraphics.CGRect lineRect, Foundation.NSRange lineGlyphRange, CoreGraphics.CGPoint containerOrigin);
abstract member DrawStrikethrough : Foundation.NSRange * Foundation.NSUnderlineStyle * nfloat * CoreGraphics.CGRect * Foundation.NSRange * CoreGraphics.CGPoint -> unit
override this.DrawStrikethrough : Foundation.NSRange * Foundation.NSUnderlineStyle * nfloat * CoreGraphics.CGRect * Foundation.NSRange * CoreGraphics.CGPoint -> unit

매개 변수

glyphRange
NSRange

강타할 문자 모양 범위입니다.

strikethroughVal
NSUnderlineStyle

취소선의 그리기 스타일(예: 파선 또는 단색)입니다.

baselineOffset
nfloat

취소선을 그릴 기준선 위의 거리입니다.

lineRect
CGRect

를 포함하는 줄 조각 사각형입니다.

lineGlyphRange
NSRange

내의 모든 문자 모양

containerOrigin
CGPoint

를 포함하는 개체의 원본입니다 NSTextContainer.

특성

설명

개발자는 일반적으로 더 Strikethrough(NSRange, NSUnderlineStyle, CGRect, NSRange, CGPoint) 간단한 방법을 사용해야 합니다.

적용 대상