genome_spy.RectProps¶
- class genome_spy.RectProps(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, type=Undefined, x=Undefined, x2=Undefined, x2Offset=Undefined, xOffset=Undefined, y=Undefined, y2=Undefined, y2Offset=Undefined, yOffset=Undefined, **kwds)View on GitHub¶
Bases:
GenomeSpySchemaGenerated wrapper for
RectProps.Methods
buildIndex(value)Return a copy with
buildIndexupdated.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.cullByVisibleRange(value)Return a copy with
cullByVisibleRangeupdated.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.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.
tooltip([value, handler, params])Return a copy with
tooltipupdated.type(value)Return a copy with
typeupdated.validate(instance)Validate an instance against this wrapper's schema.
x([value, expr])Return a copy with a
ExprRefx.x2([value, expr])Return a copy with a
ExprRefx2.x2Offset([value, expr])Return a copy with a
ExprRefx2Offset.xOffset([value, expr])Return a copy with a
ExprRefxOffset.y([value, expr])Return a copy with a
ExprRefy.y2([value, expr])Return a copy with a
ExprRefy2.y2Offset([value, expr])Return a copy with a
ExprRefy2Offset.yOffset([value, expr])Return a copy with a
ExprRefyOffset.- buildIndex(value)View on GitHub¶
Return a copy with
buildIndexupdated.
- 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.
- cullByVisibleRange(value)View on GitHub¶
Return a copy with
cullByVisibleRangeupdated.
- 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.
- 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.
- tooltip(value=Undefined, /, *, handler=Undefined, params=Undefined)View on GitHub¶
Return a copy with
tooltipupdated.
- type(value)View on GitHub¶
Return a copy with
typeupdated.
- x(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefx.- Parameters:
expr (str) – The expression string.
- x2(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefx2.- Parameters:
expr (str) – The expression string.
- x2Offset(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefx2Offset.- Parameters:
expr (str) – The expression string.
- xOffset(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefxOffset.- Parameters:
expr (str) – The expression string.
- y(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefy.- Parameters:
expr (str) – The expression string.
- y2(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefy2.- Parameters:
expr (str) – The expression string.
- y2Offset(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefy2Offset.- Parameters:
expr (str) – The expression string.
- yOffset(value=Undefined, /, *, expr=Undefined)View on GitHub¶
Return a copy with a
ExprRefyOffset.- 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.