genome_spy.BrushConfig

class genome_spy.BrushConfig(clip=Undefined, cursor=Undefined, fill=Undefined, fillOpacity=Undefined, measure=Undefined, shadowBlur=Undefined, shadowColor=Undefined, shadowOffsetX=Undefined, shadowOffsetY=Undefined, shadowOpacity=Undefined, stroke=Undefined, strokeOpacity=Undefined, strokeWidth=Undefined, zindex=Undefined, **kwds)View on GitHub

Bases: GenomeSpySchema

Generated wrapper for BrushConfig.

Methods

clip(value)

Return a copy with clip updated.

copy(*[, deep])

Return a copy with optional keyword updates.

cursor([value, expr])

Return a copy with a ExprRef cursor.

fill(value)

Return a copy with fill updated.

fillOpacity(value)

Return a copy with fillOpacity updated.

measure(value)

Return a copy with measure updated.

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)

Return a copy with stroke updated.

strokeOpacity(value)

Return a copy with strokeOpacity updated.

strokeWidth(value)

Return a copy with strokeWidth updated.

to_dict(*[, validate])

Serialize this schema wrapper to a JSON-compatible dictionary.

to_json(*[, validate])

Serialize this schema wrapper to formatted JSON.

validate(instance)

Validate an instance against this wrapper's schema.

zindex(value)

Return a copy with zindex updated.

clip(value)View on GitHub

Return a copy with clip updated.

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

Return a copy with a ExprRef cursor.

Parameters:

expr (str) – The expression string.

fill(value)View on GitHub

Return a copy with fill updated.

fillOpacity(value)View on GitHub

Return a copy with fillOpacity updated.

measure(value)View on GitHub

Return a copy with measure updated.

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)View on GitHub

Return a copy with stroke updated.

strokeOpacity(value)View on GitHub

Return a copy with strokeOpacity updated.

strokeWidth(value)View on GitHub

Return a copy with strokeWidth updated.

zindex(value)View on GitHub

Return a copy with zindex updated.

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.