genome_spy.RectConfig

class genome_spy.RectConfig(buildIndex=Undefined, clamp=Undefined, clip=Undefined, color=Undefined, cornerRadius=Undefined, cornerRadiusBottomLeft=Undefined, cornerRadiusBottomRight=Undefined, cornerRadiusTopLeft=Undefined, cornerRadiusTopRight=Undefined, cullByVisibleRange=Undefined, cursor=Undefined, fill=Undefined, fillOpacity=Undefined, filled=Undefined, hatch=Undefined, minHeight=Undefined, minOpacity=Undefined, minWidth=Undefined, opacity=Undefined, shadowBlur=Undefined, shadowColor=Undefined, shadowOffsetX=Undefined, shadowOffsetY=Undefined, shadowOpacity=Undefined, stroke=Undefined, strokeOpacity=Undefined, strokeWidth=Undefined, style=Undefined, tooltip=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 RectConfig.

Methods

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.

cornerRadius([value, expr])

Return a copy with a ExprRef cornerRadius.

cornerRadiusBottomLeft([value, expr])

Return a copy with a ExprRef cornerRadiusBottomLeft.

cornerRadiusBottomRight([value, expr])

Return a copy with a ExprRef cornerRadiusBottomRight.

cornerRadiusTopLeft([value, expr])

Return a copy with a ExprRef cornerRadiusTopLeft.

cornerRadiusTopRight([value, expr])

Return a copy with a ExprRef cornerRadiusTopRight.

cullByVisibleRange(value)

Return a copy with cullByVisibleRange updated.

cursor([value, expr])

Return a copy with a ExprRef cursor.

fill([value, expr])

Return a copy with a ExprRef fill.

fillOpacity([value, expr])

Return a copy with a ExprRef fillOpacity.

filled(value)

Return a copy with filled updated.

hatch([value, expr])

Return a copy with a ExprRef hatch.

minHeight([value, expr])

Return a copy with a ExprRef minHeight.

minOpacity([value, expr])

Return a copy with a ExprRef minOpacity.

minWidth([value, expr])

Return a copy with a ExprRef minWidth.

opacity([value, expr])

Return a copy with a ExprRef opacity.

resolve_references()

Return this class schema with referenced properties merged in.

shadowBlur([value, expr])

Return a copy with a ExprRef shadowBlur.

shadowColor([value, expr])

Return a copy with a ExprRef shadowColor.

shadowOffsetX([value, expr])

Return a copy with a ExprRef shadowOffsetX.

shadowOffsetY([value, expr])

Return a copy with a ExprRef shadowOffsetY.

shadowOpacity([value, expr])

Return a copy with a ExprRef shadowOpacity.

stroke([value, expr])

Return a copy with a ExprRef stroke.

strokeOpacity([value, expr])

Return a copy with a ExprRef strokeOpacity.

strokeWidth([value, expr])

Return a copy with a ExprRef strokeWidth.

style(value)

Return a copy with style 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.

validate(instance)

Validate an instance against this wrapper's schema.

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.

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.

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

Return a copy with a ExprRef cornerRadius.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef cornerRadiusBottomLeft.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef cornerRadiusBottomRight.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef cornerRadiusTopLeft.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef cornerRadiusTopRight.

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.

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

Return a copy with a ExprRef fill.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef fillOpacity.

Parameters:

expr (str) – The expression string.

filled(value)View on GitHub

Return a copy with filled updated.

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

Return a copy with a ExprRef hatch.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef minHeight.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef minOpacity.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef minWidth.

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.

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

Return a copy with a ExprRef shadowBlur.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef shadowColor.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef shadowOffsetX.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef shadowOffsetY.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef shadowOpacity.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef stroke.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef strokeOpacity.

Parameters:

expr (str) – The expression string.

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

Return a copy with a ExprRef strokeWidth.

Parameters:

expr (str) – The expression string.

style(value)View on GitHub

Return a copy with style updated.

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.

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.