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:
GenomeSpySchemaGenerated wrapper for
BrushConfig.Methods
clip(value)Return a copy with
clipupdated.copy(*[, deep])Return a copy with optional keyword updates.
cursor([value, expr])Return a copy with a
ExprRefcursor.fill(value)Return a copy with
fillupdated.fillOpacity(value)Return a copy with
fillOpacityupdated.measure(value)Return a copy with
measureupdated.Return this class schema with referenced properties merged in.
shadowBlur([value, expr])Return a copy with a
ExprRefshadowBlur.shadowColor([value, expr])Return a copy with a
ExprRefshadowColor.shadowOffsetX([value, expr])Return a copy with a
ExprRefshadowOffsetX.shadowOffsetY([value, expr])Return a copy with a
ExprRefshadowOffsetY.shadowOpacity([value, expr])Return a copy with a
ExprRefshadowOpacity.stroke(value)Return a copy with
strokeupdated.strokeOpacity(value)Return a copy with
strokeOpacityupdated.strokeWidth(value)Return a copy with
strokeWidthupdated.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
zindexupdated.- clip(value)View on GitHub¶
Return a copy with
clipupdated.
- cursor(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefcursor.- Parameters:
expr (str) – The expression string.
- fill(value)View on GitHub¶
Return a copy with
fillupdated.
- fillOpacity(value)View on GitHub¶
Return a copy with
fillOpacityupdated.
- measure(value)View on GitHub¶
Return a copy with
measureupdated.
- shadowBlur(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefshadowBlur.- Parameters:
expr (str) – The expression string.
- shadowColor(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefshadowColor.- Parameters:
expr (str) – The expression string.
- shadowOffsetX(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefshadowOffsetX.- Parameters:
expr (str) – The expression string.
- shadowOffsetY(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefshadowOffsetY.- Parameters:
expr (str) – The expression string.
- shadowOpacity(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefshadowOpacity.- Parameters:
expr (str) – The expression string.
- stroke(value)View on GitHub¶
Return a copy with
strokeupdated.
- strokeOpacity(value)View on GitHub¶
Return a copy with
strokeOpacityupdated.
- strokeWidth(value)View on GitHub¶
Return a copy with
strokeWidthupdated.
- zindex(value)View on GitHub¶
Return a copy with
zindexupdated.
- 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.