Tanoda
Leap.Unity.GraphicalRenderer.TextWrapper.Line Struct Reference

References a contiguous sequence of characters in a string More...

Public Member Functions

void TrimEnd (string source, Func< char, float > charWidth)
 

Public Attributes

int start
 
int end
 
float width
 

Properties

int length [get, set]
 

Detailed Description

References a contiguous sequence of characters in a string

Definition at line 52 of file TextWrapper.cs.

Member Function Documentation

◆ TrimEnd()

void Leap.Unity.GraphicalRenderer.TextWrapper.Line.TrimEnd ( string  source,
Func< char, float >  charWidth 
)

Definition at line 66 of file TextWrapper.cs.

Member Data Documentation

◆ end

int Leap.Unity.GraphicalRenderer.TextWrapper.Line.end

Definition at line 54 of file TextWrapper.cs.

◆ start

int Leap.Unity.GraphicalRenderer.TextWrapper.Line.start

Definition at line 53 of file TextWrapper.cs.

◆ width

float Leap.Unity.GraphicalRenderer.TextWrapper.Line.width

Definition at line 55 of file TextWrapper.cs.

Property Documentation

◆ length

int Leap.Unity.GraphicalRenderer.TextWrapper.Line.length
getset

Definition at line 57 of file TextWrapper.cs.


The documentation for this struct was generated from the following file: