Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

Variables

Functions

Type aliases

Params: typeof <internal>.Text.Params

Variables

Params: { alpha: <internal>.Numeric; attachment: <internal>.Select<TextAttachment>; background: BooleanParam; backgroundColor: <internal>.Color; backgroundMargin: <internal>.Numeric; backgroundOpacity: <internal>.Numeric; borderColor: <internal>.Color; borderWidth: <internal>.Numeric; clip: <internal>.Group<Normalize<{ objects: Normalize<{ invert: any; position: any; rotation: any; scale: any; type: any }>[]; variant: "/Users/joan/devel/rcsb-saguaro-3d/node_modules/molstar/lib/mol-util/clip" }>>; fontFamily: <internal>.Select<"/Users/joan/devel/rcsb-saguaro-3d/node_modules/molstar/lib/mol-geo/geometry/text/font-atlas">; fontQuality: <internal>.Select<number>; fontStyle: <internal>.Select<"/Users/joan/devel/rcsb-saguaro-3d/node_modules/molstar/lib/mol-geo/geometry/text/font-atlas">; fontVariant: <internal>.Select<"/Users/joan/devel/rcsb-saguaro-3d/node_modules/molstar/lib/mol-geo/geometry/text/font-atlas">; fontWeight: <internal>.Select<"/Users/joan/devel/rcsb-saguaro-3d/node_modules/molstar/lib/mol-geo/geometry/text/font-atlas">; material: <internal>.Group<Normalize<{ bumpiness: number; metalness: number; roughness: number }>>; offsetX: <internal>.Numeric; offsetY: <internal>.Numeric; offsetZ: <internal>.Numeric; quality: <internal>.Select<"auto" | "medium" | "high" | "low" | "custom" | "highest" | "higher" | "lower" | "lowest">; sizeFactor: <internal>.Numeric; tether: BooleanParam; tetherBaseWidth: <internal>.Numeric; tetherLength: <internal>.Numeric }

Type declaration

Functions

  • create(fontTexture: TextureImage<Uint8Array>, centers: Float32Array, mappings: Float32Array, depths: Float32Array, indices: Uint32Array, groups: Float32Array, tcoords: Float32Array, charCount: number, text?: <internal>.Text): <internal>.Text
  • Parameters

    • fontTexture: TextureImage<Uint8Array>
    • centers: Float32Array
    • mappings: Float32Array
    • depths: Float32Array
    • indices: Uint32Array
    • groups: Float32Array
    • tcoords: Float32Array
    • charCount: number
    • Optional text: <internal>.Text

    Returns <internal>.Text

Generated using TypeDoc