genome_spy.TextProps

class genome_spy.TextProps(align=Undefined, angle=Undefined, baseline=Undefined, buildIndex=Undefined, clamp=Undefined, clip=Undefined, color=Undefined, cullByVisibleRange=Undefined, cursor=Undefined, dx=Undefined, dy=Undefined, fitToBand=Undefined, flushX=Undefined, flushY=Undefined, font=Undefined, fontStyle=Undefined, fontWeight=Undefined, logoLetters=Undefined, opacity=Undefined, paddingX=Undefined, paddingY=Undefined, size=Undefined, squeeze=Undefined, style=Undefined, text=Undefined, tooltip=Undefined, type=Undefined, viewportEdgeFadeDistanceBottom=Undefined, viewportEdgeFadeDistanceLeft=Undefined, viewportEdgeFadeDistanceRight=Undefined, viewportEdgeFadeDistanceTop=Undefined, viewportEdgeFadeWidthBottom=Undefined, viewportEdgeFadeWidthLeft=Undefined, viewportEdgeFadeWidthRight=Undefined, viewportEdgeFadeWidthTop=Undefined, x=Undefined, x2=Undefined, x2Offset=Undefined, xOffset=Undefined, y=Undefined, y2=Undefined, y2Offset=Undefined, yOffset=Undefined, **kwds)View on GitHub

Bases: GenomeSpySchema

Generated wrapper for TextProps.

Methods

align(value)

Return a copy with align updated.

angle([value, expr])

Return a copy with a ExprRef angle.

baseline(value)

Return a copy with baseline updated.

buildIndex(value)

Return a copy with buildIndex updated.

clamp(value)

Return a copy with clamp updated.

clip(value)

Return a copy with clip updated.

color([value, expr])

Return a copy with a ExprRef color.

copy(*[, deep])

Return a copy with optional keyword updates.

cullByVisibleRange(value)

Return a copy with cullByVisibleRange updated.

cursor([value, expr])

Return a copy with a ExprRef cursor.

dx(value)

Return a copy with dx updated.

dy(value)

Return a copy with dy updated.

fitToBand([value, expr])

Return a copy with a ExprRef fitToBand.

flushX([value, expr])

Return a copy with a ExprRef flushX.

flushY([value, expr])

Return a copy with a ExprRef flushY.

font(value)

Return a copy with font updated.

fontStyle(value)

Return a copy with fontStyle updated.

fontWeight(value)

Return a copy with fontWeight updated.

logoLetters([value, expr])

Return a copy with a ExprRef logoLetters.

opacity([value, expr])

Return a copy with a ExprRef opacity.

paddingX([value, expr])

Return a copy with a ExprRef paddingX.

paddingY([value, expr])

Return a copy with a ExprRef paddingY.

resolve_references()

Return this class schema with referenced properties merged in.

size([value, expr])

Return a copy with a ExprRef size.

squeeze([value, expr])

Return a copy with a ExprRef squeeze.

style(value)

Return a copy with style updated.

text([value, expr])

Return a copy with text updated.

to_dict(*[, validate])

Serialize this schema wrapper to a JSON-compatible dictionary.

to_json(*[, validate])

Serialize this schema wrapper to formatted JSON.

tooltip([value, handler, params])

Return a copy with tooltip updated.

type(value)

Return a copy with type updated.

validate(instance)

Validate an instance against this wrapper's schema.

viewportEdgeFadeDistanceBottom([value, expr])

Return a copy with a ExprRef viewportEdgeFadeDistanceBottom.

viewportEdgeFadeDistanceLeft([value, expr])

Return a copy with a ExprRef viewportEdgeFadeDistanceLeft.

viewportEdgeFadeDistanceRight([value, expr])

Return a copy with a ExprRef viewportEdgeFadeDistanceRight.

viewportEdgeFadeDistanceTop([value, expr])

Return a copy with a ExprRef viewportEdgeFadeDistanceTop.

viewportEdgeFadeWidthBottom([value, expr])

Return a copy with a ExprRef viewportEdgeFadeWidthBottom.

viewportEdgeFadeWidthLeft([value, expr])

Return a copy with a ExprRef viewportEdgeFadeWidthLeft.

viewportEdgeFadeWidthRight([value, expr])

Return a copy with a ExprRef viewportEdgeFadeWidthRight.

viewportEdgeFadeWidthTop([value, expr])

Return a copy with a ExprRef viewportEdgeFadeWidthTop.

x([value, expr])

Return a copy with a ExprRef x.

x2([value, expr])

Return a copy with a ExprRef x2.

x2Offset([value, expr])

Return a copy with a ExprRef x2Offset.

xOffset([value, expr])

Return a copy with a ExprRef xOffset.

y([value, expr])

Return a copy with a ExprRef y.

y2([value, expr])

Return a copy with a ExprRef y2.

y2Offset([value, expr])

Return a copy with a ExprRef y2Offset.

yOffset([value, expr])

Return a copy with a ExprRef yOffset.

align(value)View on GitHub

Return a copy with align updated.

angle(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef angle.

Parameters:

expr (str) – The expression string.

baseline(value)View on GitHub

Return a copy with baseline updated.

buildIndex(value)View on GitHub

Return a copy with buildIndex updated.

clamp(value)View on GitHub

Return a copy with clamp updated.

clip(value)View on GitHub

Return a copy with clip updated.

color(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef color.

Parameters:

expr (str) – The expression string.

cullByVisibleRange(value)View on GitHub

Return a copy with cullByVisibleRange updated.

cursor(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef cursor.

Parameters:

expr (str) – The expression string.

dx(value)View on GitHub

Return a copy with dx updated.

dy(value)View on GitHub

Return a copy with dy updated.

fitToBand(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef fitToBand.

Parameters:

expr (str) – The expression string.

flushX(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef flushX.

Parameters:

expr (str) – The expression string.

flushY(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef flushY.

Parameters:

expr (str) – The expression string.

font(value)View on GitHub

Return a copy with font updated.

fontStyle(value)View on GitHub

Return a copy with fontStyle updated.

fontWeight(value)View on GitHub

Return a copy with fontWeight updated.

logoLetters(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef logoLetters.

Parameters:

expr (str) – The expression string.

opacity(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef opacity.

Parameters:

expr (str) – The expression string.

paddingX(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef paddingX.

Parameters:

expr (str) – The expression string.

paddingY(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef paddingY.

Parameters:

expr (str) – The expression string.

size(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef size.

Parameters:

expr (str) – The expression string.

squeeze(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef squeeze.

Parameters:

expr (str) – The expression string.

style(value)View on GitHub

Return a copy with style updated.

text(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with text updated.

Parameters:

expr (str) – The expression string.

tooltip(value=Undefined, /, *, handler=Undefined, params=Undefined)View on GitHub

Return a copy with tooltip updated.

Parameters:
  • handler (str) – Schema-defined handler property.

  • params (dict[str, Any]) – Schema-defined params property.

type(value)View on GitHub

Return a copy with type updated.

viewportEdgeFadeDistanceBottom(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef viewportEdgeFadeDistanceBottom.

Parameters:

expr (str) – The expression string.

viewportEdgeFadeDistanceLeft(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef viewportEdgeFadeDistanceLeft.

Parameters:

expr (str) – The expression string.

viewportEdgeFadeDistanceRight(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef viewportEdgeFadeDistanceRight.

Parameters:

expr (str) – The expression string.

viewportEdgeFadeDistanceTop(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef viewportEdgeFadeDistanceTop.

Parameters:

expr (str) – The expression string.

viewportEdgeFadeWidthBottom(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef viewportEdgeFadeWidthBottom.

Parameters:

expr (str) – The expression string.

viewportEdgeFadeWidthLeft(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef viewportEdgeFadeWidthLeft.

Parameters:

expr (str) – The expression string.

viewportEdgeFadeWidthRight(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef viewportEdgeFadeWidthRight.

Parameters:

expr (str) – The expression string.

viewportEdgeFadeWidthTop(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef viewportEdgeFadeWidthTop.

Parameters:

expr (str) – The expression string.

x(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef x.

Parameters:

expr (str) – The expression string.

x2(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef x2.

Parameters:

expr (str) – The expression string.

x2Offset(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef x2Offset.

Parameters:

expr (str) – The expression string.

xOffset(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef xOffset.

Parameters:

expr (str) – The expression string.

y(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef y.

Parameters:

expr (str) – The expression string.

y2(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef y2.

Parameters:

expr (str) – The expression string.

y2Offset(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef y2Offset.

Parameters:

expr (str) – The expression string.

yOffset(value=Undefined, /, *, expr=Undefined)View on GitHub

Return a copy with a ExprRef yOffset.

Parameters:

expr (str) – The expression string.

copy(*, deep=True, **kwds)View on GitHub

Return a copy with optional keyword updates.

classmethod resolve_references()View on GitHub

Return this class schema with referenced properties merged in.

to_dict(*, validate=True)View on GitHub

Serialize this schema wrapper to a JSON-compatible dictionary.

to_json(*, validate=True)View on GitHub

Serialize this schema wrapper to formatted JSON.

classmethod validate(instance)View on GitHub

Validate an instance against this wrapper’s schema.