MonobjcMonobjc Documented Class Library
StrikethroughGlyphRangeStrikethroughTypeLineFragmentRectLineFragmentGlyphRangeContainerOrigin Method (glyphRange, strikethroughVal, lineRect, lineGlyphRange, containerOrigin)
NamespacesMonobjc.AppKitNSLayoutManagerStrikethroughGlyphRangeStrikethroughTypeLineFragmentRectLineFragmentGlyphRangeContainerOrigin(NSRange, NSInteger, NSRect, NSRange, NSPoint)

Calculates and draws strikethrough for the glyphs in the given range.

Original signature is '- (void)strikethroughGlyphRange:(NSRange)glyphRange strikethroughType:(NSInteger)strikethroughVal lineFragmentRect:(NSRect)lineRect lineFragmentGlyphRange:(NSRange)lineGlyphRange containerOrigin:(NSPoint)containerOrigin'

Available in Mac OS X v10.3 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual void StrikethroughGlyphRangeStrikethroughTypeLineFragmentRectLineFragmentGlyphRangeContainerOrigin(
	NSRange glyphRange,
	NSInteger strikethroughVal,
	NSRect lineRect,
	NSRange lineGlyphRange,
	NSPoint containerOrigin
)
Public Overridable Sub StrikethroughGlyphRangeStrikethroughTypeLineFragmentRectLineFragmentGlyphRangeContainerOrigin ( _
	glyphRange As NSRange, _
	strikethroughVal As NSInteger, _
	lineRect As NSRect, _
	lineGlyphRange As NSRange, _
	containerOrigin As NSPoint _
)
public:
virtual void StrikethroughGlyphRangeStrikethroughTypeLineFragmentRectLineFragmentGlyphRangeContainerOrigin(
	NSRange glyphRange, 
	NSInteger strikethroughVal, 
	NSRect lineRect, 
	NSRange lineGlyphRange, 
	NSPoint containerOrigin
)
Parameters
glyphRange (NSRange)
The range of glyphs for which to draw a strikethrough. The range must belong to a single line fragment rectangle (as returned by lineFragmentRectForGlyphAtIndex:effectiveRange:).
strikethroughVal (NSInteger)
The style of underlining to draw. This value is a mask derived from the value for NSUnderlineStyleAttributeName—for example, (NSUnderlinePatternDash | NSUnderlineStyleThick | NSUnderlineByWordMask). Subclasses can define custom underlining styles.
lineRect (NSRect)
The line fragment rectangle containing the glyphs to draw strikethrough for.
lineGlyphRange (NSRange)
The range of all glyphs within lineRect.
containerOrigin (NSPoint)
The origin of the line fragment rectangle’s NSTextContainer in its NSTextView.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)