genome_spy.BrushConfig

class genome_spy.BrushConfig(clamp=Undefined, clip=Undefined, color=Undefined, cornerRadius=Undefined, cornerRadiusBottomLeft=Undefined, cornerRadiusBottomRight=Undefined, cornerRadiusTopLeft=Undefined, cornerRadiusTopRight=Undefined, cursor=Undefined, fill=Undefined, fillOpacity=Undefined, filled=Undefined, hatch=Undefined, measure=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, zindex=Undefined, **kwds)View on GitHub

Bases: GenomeSpySchema

Generated wrapper for BrushConfig.

Methods

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.

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.

measure(value)

Return a copy with measure updated.

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.

validate(instance)

Validate an instance against this wrapper's schema.

zindex(value)

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

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.

measure(value)View on GitHub

Return a copy with measure updated.

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.

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.