MonobjcMonobjc Documented Class Library
WidthForLayerEdge Method (layer, edge)
NamespacesMonobjc.AppKitNSTextBlockWidthForLayerEdge(NSTextBlockLayer, NSRectEdge)

Returns the width of an edge of a specified layer of the text block.

Original signature is '- (CGFloat)widthForLayer:(NSTextBlockLayer)layer edge:(NSRectEdge)edge'

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual CGFloat WidthForLayerEdge(
	NSTextBlockLayer layer,
	NSRectEdge edge
)
Public Overridable Function WidthForLayerEdge ( _
	layer As NSTextBlockLayer, _
	edge As NSRectEdge _
) As CGFloat
public:
virtual CGFloat WidthForLayerEdge(
	NSTextBlockLayer layer, 
	NSRectEdge edge
)
Parameters
layer (NSTextBlockLayer)
The layer to examine.
edge (NSRectEdge)
The edge of the layer to examine.
Return Value
The width of the edge of layer. This value must be interpreted according to the value type returned by widthValueTypeForLayer:edge:.
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)