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:
GenomeSpySchemaGenerated wrapper for
BrushConfig.Methods
clamp(value)Return a copy with
clampupdated.clip(value)Return a copy with
clipupdated.color([value, expr])Return a copy with a
ExprRefcolor.copy(*[, deep])Return a copy with optional keyword updates.
cornerRadius([value, expr])Return a copy with a
ExprRefcornerRadius.cornerRadiusBottomLeft([value, expr])Return a copy with a
ExprRefcornerRadiusBottomLeft.cornerRadiusBottomRight([value, expr])Return a copy with a
ExprRefcornerRadiusBottomRight.cornerRadiusTopLeft([value, expr])Return a copy with a
ExprRefcornerRadiusTopLeft.cornerRadiusTopRight([value, expr])Return a copy with a
ExprRefcornerRadiusTopRight.cursor([value, expr])Return a copy with a
ExprRefcursor.fill([value, expr])Return a copy with a
ExprReffill.fillOpacity([value, expr])Return a copy with a
ExprReffillOpacity.filled(value)Return a copy with
filledupdated.hatch([value, expr])Return a copy with a
ExprRefhatch.measure(value)Return a copy with
measureupdated.minHeight([value, expr])Return a copy with a
ExprRefminHeight.minOpacity([value, expr])Return a copy with a
ExprRefminOpacity.minWidth([value, expr])Return a copy with a
ExprRefminWidth.opacity([value, expr])Return a copy with a
ExprRefopacity.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, expr])Return a copy with a
ExprRefstroke.strokeOpacity([value, expr])Return a copy with a
ExprRefstrokeOpacity.strokeWidth([value, expr])Return a copy with a
ExprRefstrokeWidth.style(value)Return a copy with
styleupdated.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.- clamp(value)View on GitHub¶
Return a copy with
clampupdated.
- clip(value)View on GitHub¶
Return a copy with
clipupdated.
- color(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefcolor.- Parameters:
expr (str) – The expression string.
- cornerRadius(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefcornerRadius.- Parameters:
expr (str) – The expression string.
- cornerRadiusBottomLeft(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefcornerRadiusBottomLeft.- Parameters:
expr (str) – The expression string.
- cornerRadiusBottomRight(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefcornerRadiusBottomRight.- Parameters:
expr (str) – The expression string.
- cornerRadiusTopLeft(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefcornerRadiusTopLeft.- Parameters:
expr (str) – The expression string.
- cornerRadiusTopRight(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefcornerRadiusTopRight.- Parameters:
expr (str) – The expression string.
- cursor(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefcursor.- Parameters:
expr (str) – The expression string.
- fill(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprReffill.- Parameters:
expr (str) – The expression string.
- fillOpacity(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprReffillOpacity.- Parameters:
expr (str) – The expression string.
- filled(value)View on GitHub¶
Return a copy with
filledupdated.
- hatch(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefhatch.- Parameters:
expr (str) – The expression string.
- measure(value)View on GitHub¶
Return a copy with
measureupdated.
- minHeight(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefminHeight.- Parameters:
expr (str) – The expression string.
- minOpacity(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefminOpacity.- Parameters:
expr (str) – The expression string.
- minWidth(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefminWidth.- Parameters:
expr (str) – The expression string.
- opacity(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefopacity.- Parameters:
expr (str) – The expression string.
- 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=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefstroke.- Parameters:
expr (str) – The expression string.
- strokeOpacity(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefstrokeOpacity.- Parameters:
expr (str) – The expression string.
- strokeWidth(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefstrokeWidth.- Parameters:
expr (str) – The expression string.
- style(value)View on GitHub¶
Return a copy with
styleupdated.
- 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.