totalLength

public int totalLength(String string, boolean isBold)

Returns the length, in pixels, that the string will take in the UI


public int totalLength(String string)