Click or drag to resize
CanvasTextAnalyzer.ApplyJustificationOpportunities Method
Justifies an array of glyph advances to fit the line width.

Namespace:  Microsoft.Graphics.Canvas.Text
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public CanvasGlyph[] ApplyJustificationOpportunities(
	float lineWidth,
	CanvasJustificationOpportunity[] justificationOpportunitiesElements,
	CanvasGlyph[] sourceGlyphsElements
)

Parameters

lineWidth
Type: System.Single
justificationOpportunitiesElements
Type:Microsoft.Graphics.Canvas.Text.CanvasJustificationOpportunity[]
sourceGlyphsElements
Type:Microsoft.Graphics.Canvas.Text.CanvasGlyph[]

Return Value

Type:CanvasGlyph[]
See Also