String

class String

Methods

__init__

__init__(*args, **kwargs) Overloaded function.

append

Overloaded function.

appendHex

appendS32

appendS64

appendScalar

appendU32

appendU64

appendUnichar

c_str

contains

Overloaded function.

endsWith

Overloaded function.

equals

Overloaded function.

find

findLastOf

insert

Overloaded function.

insertHex

insertS32

insertS64

insertScalar

insertU32

insertU64

insertUnichar

isEmpty

prepend

Overloaded function.

prependHex

prependS32

prependS64

prependScalar

prependUnichar

remove

reset

resize

set

Overloaded function.

size

startsWith

Overloaded function.

swap

Swap contents between this and other.

Methods

String.__init__(*args, **kwargs)

__init__(*args, **kwargs) Overloaded function.

  1. __init__(self: skia.String) -> None

  2. __init__(self: skia.String, size: int) -> None

  3. __init__(self: skia.String, text: str) -> None

  4. __init__(self: skia.String, text: str) -> None

  5. __init__(self: skia.String, text: str, size: int) -> None

  6. __init__(self: skia.String, other: skia.String) -> None

String.append(*args, **kwargs)

Overloaded function.

  1. append(self: skia.String, str: skia.String) -> None

  2. append(self: skia.String, text: str) -> None

  3. append(self: skia.String, text: str, size: int) -> None

String.appendHex(self: skia.String, value: int, minDigits: int = 0) None
String.appendS32(self: skia.String, value: int) None
String.appendS64(self: skia.String, value: int, minDigits: int = 0) None
String.appendScalar(self: skia.String, value: float) None
String.appendU32(self: skia.String, value: int) None
String.appendU64(self: skia.String, value: int, minDigits: int = 0) None
String.appendUnichar(self: skia.String, value: int) None
String.c_str(self: skia.String) str
String.contains(*args, **kwargs)

Overloaded function.

  1. contains(self: skia.String, subStr: str) -> bool

  2. contains(self: skia.String, subChar: str) -> bool

String.endsWith(*args, **kwargs)

Overloaded function.

  1. endsWith(self: skia.String, suffixStr: str) -> bool

  2. endsWith(self: skia.String, suffixChar: str) -> bool

String.equals(*args, **kwargs)

Overloaded function.

  1. equals(self: skia.String, text: skia.String) -> bool

  2. equals(self: skia.String, text: str) -> bool

  3. equals(self: skia.String, text: str, size: int) -> bool

String.find(self: skia.String, substring: str) int
String.findLastOf(self: skia.String, subchar: str) int
String.insert(*args, **kwargs)

Overloaded function.

  1. insert(self: skia.String, offset: int, src: skia.String) -> None

  2. insert(self: skia.String, offset: int, text: str) -> None

  3. insert(self: skia.String, offset: int, text: str, size: int) -> None

String.insertHex(self: skia.String, offset: int, value: int, minDigits: int = 0) None
String.insertS32(self: skia.String, offset: int, value: int) None
String.insertS64(self: skia.String, offset: int, value: int, minDigits: int = 0) None
String.insertScalar(self: skia.String, offset: int, value: float) None
String.insertU32(self: skia.String, offset: int, value: int) None
String.insertU64(self: skia.String, offset: int, value: int, minDigits: int = 0) None
String.insertUnichar(self: skia.String, offset: int, value: int) None
String.isEmpty(self: skia.String) bool
String.prepend(*args, **kwargs)

Overloaded function.

  1. prepend(self: skia.String, str: skia.String) -> None

  2. prepend(self: skia.String, text: str) -> None

  3. prepend(self: skia.String, text: str, size: int) -> None

String.prependHex(self: skia.String, value: int, minDigits: int = 0) None
String.prependS32(self: skia.String, value: int) None
String.prependS64(self: skia.String, value: int, minDigits: int = 0) None
String.prependScalar(self: skia.String, value: float) None
String.prependUnichar(self: skia.String, value: int) None
String.remove(self: skia.String, offset: int, size: int) None
String.reset(self: skia.String) None
String.resize(self: skia.String, size: int) None
String.set(*args, **kwargs)

Overloaded function.

  1. set(self: skia.String, src: skia.String) -> None

  2. set(self: skia.String, text: str) -> None

  3. set(self: skia.String, text: str, size: int) -> None

String.size(self: skia.String) int
String.startsWith(*args, **kwargs)

Overloaded function.

  1. startsWith(self: skia.String, prefixStr: str) -> bool

  2. startsWith(self: skia.String, prefixChar: str) -> bool

String.swap(self: skia.String, other: skia.String) None

Swap contents between this and other.

This function is guaranteed to never fail or throw.