Typeface.SerializeBehavior

class SerializeBehavior

A typeface can serialize just a descriptor (names, etc.), or it can also include the actual font data (which can be large).

This enum controls how serialize() decides what to serialize.

Members:

kDoIncludeData

kDontIncludeData

kIncludeDataIfLocal

Methods

__init__

__init__(self: skia.Typeface.SerializeBehavior, value: int) -> None

Attributes

kDoIncludeData

kDontIncludeData

kIncludeDataIfLocal

name

value

Methods

SerializeBehavior.__init__(self: skia.Typeface.SerializeBehavior, value: int) None

__init__(self: skia.Typeface.SerializeBehavior, value: int) -> None

Attributes

SerializeBehavior.kDoIncludeData = <SerializeBehavior.kDoIncludeData: 0>
SerializeBehavior.kDontIncludeData = <SerializeBehavior.kDontIncludeData: 1>
SerializeBehavior.kIncludeDataIfLocal = <SerializeBehavior.kIncludeDataIfLocal: 2>
SerializeBehavior.name
SerializeBehavior.value