openpyxl.drawing.geometry模块¶
- class openpyxl.drawing.geometry.AdjPoint2D(x=None, y=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- x¶
值的类型必须小于class“int”>
- y¶
值的类型必须小于class“int”>
- class openpyxl.drawing.geometry.Backdrop(anchor=None, norm=None, up=None, extLst=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- anchor¶
值的类型必须小于class“openpyxl.drawing.geometry.point3d”>
- extLst¶
值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>
- norm¶
值的类型必须小于“openpyxl.drawing.geometry.vector3d”>
- up¶
值的类型必须小于“openpyxl.drawing.geometry.vector3d”>
- class openpyxl.drawing.geometry.Bevel(w=None, h=None, prst=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- h¶
值的类型必须小于class“int”>
- prst¶
Value must be one of {'slope', 'artDeco', 'convex', 'coolSlant', 'softRound', 'hardEdge', 'riblet', 'cross', 'angle', 'divot', 'circle', 'relaxedInset'}
- tagname = 'bevel'¶
- w¶
值的类型必须小于class“int”>
- class openpyxl.drawing.geometry.Camera(prst=None, fov=None, zoom=None, rot=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- fov¶
值的类型必须小于class“int”>
- prst¶
Value must be one of {'perspectiveHeroicExtremeLeftFacing', 'obliqueTop', 'perspectiveRight', 'obliqueBottom', 'perspectiveContrastingRightFacing', 'legacyPerspectiveRight', 'isometricTopUp', 'isometricOffAxis3Bottom', 'isometricBottomUp', 'obliqueRight', 'isometricOffAxis2Top', 'orthographicFront', 'perspectiveHeroicRightFacing', 'obliqueTopLeft', 'isometricOffAxis3Right', 'perspectiveRelaxed', 'perspectiveAboveRightFacing', 'legacyObliqueLeft', 'isometricBottomDown', 'isometricOffAxis2Left', 'legacyObliqueBottom', 'perspectiveAbove', 'legacyObliqueBottomLeft', 'legacyObliqueFront', 'isometricRightUp', 'legacyPerspectiveFront', 'isometricOffAxis2Right', 'perspectiveFront', 'obliqueBottomLeft', 'perspectiveHeroicLeftFacing', 'perspectiveHeroicExtremeRightFacing', 'legacyObliqueTopRight', 'isometricRightDown', 'isometricOffAxis3Left', 'obliqueTopRight', 'isometricOffAxis1Top', 'legacyPerspectiveTop', 'isometricTopDown', 'isometricLeftUp', 'isometricOffAxis1Right', 'perspectiveAboveLeftFacing', 'legacyPerspectiveBottom', 'legacyObliqueTop', 'legacyPerspectiveBottomRight', 'legacyPerspectiveBottomLeft', 'legacyObliqueBottomRight', 'isometricLeftDown', 'isometricOffAxis4Right', 'perspectiveRelaxedModerately', 'legacyPerspectiveLeft', 'isometricOffAxis1Left', 'isometricOffAxis4Bottom', 'legacyObliqueRight', 'obliqueLeft', 'perspectiveBelow', 'perspectiveLeft', 'legacyPerspectiveTopRight', 'isometricOffAxis4Left', 'legacyPerspectiveTopLeft', 'legacyObliqueTopLeft', 'perspectiveContrastingLeftFacing', 'obliqueBottomRight'}
- rot¶
值的类型必须小于class“openpyxl.drawing.geometry.spherecords”>
- tagname = 'camera'¶
- zoom¶
值的类型必须小于class“openpyxl.descriptors.excel.percentage”>
- class openpyxl.drawing.geometry.ConnectionSite(ang=None, pos=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- ang¶
值的类型必须小于class“float”>
- pos¶
值的类型必须小于class“openpyxl.drawing.geometry.adjpoint2d”>
- class openpyxl.drawing.geometry.ConnectionSiteList(cxn=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- cxn¶
值的类型必须小于class“openpyxl.drawing.geometry.connectionsite”>
- class openpyxl.drawing.geometry.CustomGeometry2D(avLst=None, gdLst=None, ahLst=None, cxnLst=None, rect=None, pathLst=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- ahLst¶
值的类型必须小于“openpyxl.drawing.geometry.adjusthandlelist”>
- avLst¶
值的类型必须小于“openpyxl.drawing.geometry.geomGuideList”>
- cxnLst¶
值的类型必须小于class“openpyxl.drawing.geometry.connectionsitelist”>
- gdLst¶
值的类型必须小于“openpyxl.drawing.geometry.geomGuideList”>
- pathLst¶
值的类型必须小于class“openpyxl.drawing.geometry.path2dlist”>
- class openpyxl.drawing.geometry.FontReference(idx=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- idx¶
Value must be one of {'major', 'minor'}
- class openpyxl.drawing.geometry.GeomGuide(name=None, fmla=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- fmla¶
值的类型必须小于class'str'>
- name¶
值的类型必须小于class'str'>
- class openpyxl.drawing.geometry.GeomGuideList(gd=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- gd¶
值的类型必须小于“openpyxl.drawing.geometry.geomguide”>
- class openpyxl.drawing.geometry.GeomRect(l=None, t=None, r=None, b=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- b¶
值的类型必须小于class“int”>
- l¶
值的类型必须小于class“int”>
- r¶
值的类型必须小于class“int”>
- t¶
值的类型必须小于class“int”>
- class openpyxl.drawing.geometry.GroupTransform2D(rot=0, flipH=None, flipV=None, off=None, ext=None, chOff=None, chExt=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- chExt¶
值的类型必须小于“openpyxl.drawing.geometry.positivesize2d”>
- chOff¶
值的类型必须小于class“openpyxl.drawing.geometry.point2d”>
- ext¶
值的类型必须小于“openpyxl.drawing.geometry.positivesize2d”>
- flipH¶
值的类型必须小于class'bool'>
- flipV¶
值的类型必须小于class'bool'>
- namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'¶
- off¶
值的类型必须小于class“openpyxl.drawing.geometry.point2d”>
- rot¶
值的类型必须小于class“int”>
- tagname = 'xfrm'¶
- class openpyxl.drawing.geometry.LightRig(rig=None, dir=None, rot=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- dir¶
Value must be one of {'tr', 'r', 'br', 'l', 't', 'b', 'bl', 'tl'}
- rig¶
Value must be one of {'legacyFlat2', 'soft', 'contrasting', 'sunrise', 'legacyNormal1', 'balanced', 'morning', 'legacyHarsh3', 'twoPt', 'legacyFlat1', 'legacyHarsh4', 'flat', 'brightRoom', 'flood', 'legacyHarsh1', 'threePt', 'legacyHarsh2', 'glow', 'legacyNormal4', 'sunset', 'legacyFlat4', 'legacyNormal2', 'legacyFlat3', 'legacyNormal3', 'harsh', 'chilly', 'freezing'}
- rot¶
值的类型必须小于class“openpyxl.drawing.geometry.spherecords”>
- tagname = 'lightRig'¶
- class openpyxl.drawing.geometry.Path2D(w=None, h=None, fill=None, stroke=None, extrusionOk=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- extrusionOk¶
值的类型必须小于class'bool'>
- fill¶
Value must be one of {'norm', 'darken', 'lightenLess', 'lighten', 'darkenLess'}
- h¶
值的类型必须小于class“float”>
- stroke¶
值的类型必须小于class'bool'>
- w¶
值的类型必须小于class“float”>
- class openpyxl.drawing.geometry.Path2DList(path=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- path¶
值的类型必须小于class“openpyxl.drawing.geometry.path2d”>
- class openpyxl.drawing.geometry.Point2D(x=None, y=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'¶
- tagname = 'off'¶
- x¶
值的类型必须小于class“int”>
- y¶
值的类型必须小于class“int”>
- class openpyxl.drawing.geometry.Point3D(x=None, y=None, z=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- tagname = 'anchor'¶
- x¶
值的类型必须小于class“int”>
- y¶
值的类型必须小于class“int”>
- z¶
值的类型必须小于class“int”>
- class openpyxl.drawing.geometry.PositiveSize2D(cx=None, cy=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- cx¶
值的类型必须小于class“int”>
- cy¶
值的类型必须小于class“int”>
- height¶
在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。
- namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'¶
EMU中的尺寸
- tagname = 'ext'¶
- width¶
在python中不允许或混淆所需的属性名(例如“type”)或需要更具描述性的名称(例如“u”的“underline”)时,可以使用别名。
- class openpyxl.drawing.geometry.PresetGeometry2D(prst=None, avLst=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- avLst¶
值的类型必须小于“openpyxl.drawing.geometry.geomGuideList”>
- namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'¶
- prst¶
Value must be one of {'pieWedge', 'donut', 'rtTriangle', 'snipRoundRect', 'star8', 'chevron', 'borderCallout2', 'accentBorderCallout3', 'flowChartInternalStorage', 'diamond', 'flowChartExtract', 'rightArrowCallout', 'flowChartPunchedCard', 'pentagon', 'straightConnector1', 'accentCallout2', 'accentCallout3', 'round2DiagRect', 'flowChartMagneticDisk', 'flowChartTerminator', 'mathNotEqual', 'chartStar', 'ellipseRibbon', 'flowChartPredefinedProcess', 'curvedConnector5', 'cube', 'bentConnector3', 'irregularSeal2', 'roundRect', 'mathEqual', 'homePlate', 'leftRightCircularArrow', 'curvedUpArrow', 'accentBorderCallout2', 'ellipse', 'teardrop', 'actionButtonBlank', 'curvedConnector2', 'actionButtonBackPrevious', 'flowChartProcess', 'hexagon', 'leftRightArrow', 'nonIsoscelesTrapezoid', 'flowChartConnector', 'blockArc', 'flowChartMultidocument', 'stripedRightArrow', 'line', 'circularArrow', 'callout3', 'flowChartManualOperation', 'actionButtonInformation', 'squareTabs', 'flowChartAlternateProcess', 'curvedDownArrow', 'snip2DiagRect', 'leftRightUpArrow', 'bentUpArrow', 'mathDivide', 'upArrowCallout', 'actionButtonSound', 'rightBrace', 'downArrowCallout', 'ribbon2', 'irregularSeal1', 'ellipseRibbon2', 'parallelogram', 'horizontalScroll', 'doubleWave', 'actionButtonBeginning', 'plaqueTabs', 'heptagon', 'trapezoid', 'verticalScroll', 'round2SameRect', 'halfFrame', 'lineInv', 'leftRightArrowCallout', 'wedgeEllipseCallout', 'leftBracket', 'leftBrace', 'bracketPair', 'lightningBolt', 'flowChartMerge', 'rightBracket', 'funnel', 'mathMultiply', 'flowChartCollate', 'gear9', 'downArrow', 'bracePair', 'snip1Rect', 'callout1', 'leftUpArrow', 'curvedLeftArrow', 'corner', 'flowChartMagneticTape', 'curvedConnector3', 'smileyFace', 'chartX', 'cloudCallout', 'cornerTabs', 'quadArrow', 'heart', 'moon', 'star7', 'flowChartInputOutput', 'rect', 'star16', 'star10', 'noSmoking', 'flowChartPunchedTape', 'flowChartMagneticDrum', 'upArrow', 'actionButtonForwardNext', 'chord', 'foldedCorner', 'star5', 'wedgeRoundRectCallout', 'arc', 'uturnArrow', 'borderCallout1', 'callout2', 'wedgeRectCallout', 'star24', 'accentCallout1', 'leftCircularArrow', 'plaque', 'bevel', 'flowChartManualInput', 'actionButtonEnd', 'flowChartDecision', 'frame', 'flowChartSummingJunction', 'mathMinus', 'upDownArrowCallout', 'bentConnector5', 'curvedConnector4', 'star4', 'chartPlus', 'wave', 'flowChartSort', 'notchedRightArrow', 'diagStripe', 'flowChartDocument', 'actionButtonReturn', 'bentConnector4', 'snip2SameRect', 'flowChartOnlineStorage', 'round1Rect', 'leftArrowCallout', 'flowChartOfflineStorage', 'swooshArrow', 'ribbon', 'flowChartDisplay', 'bentConnector2', 'star12', 'borderCallout3', 'actionButtonMovie', 'leftRightRibbon', 'accentBorderCallout1', 'leftArrow', 'quadArrowCallout', 'triangle', 'pie', 'flowChartDelay', 'gear6', 'flowChartOffpageConnector', 'octagon', 'star6', 'actionButtonHome', 'plus', 'rightArrow', 'flowChartPreparation', 'bentArrow', 'dodecagon', 'actionButtonHelp', 'mathPlus', 'upDownArrow', 'curvedRightArrow', 'star32', 'can', 'decagon', 'sun', 'actionButtonDocument', 'cloud', 'flowChartOr'}
- class openpyxl.drawing.geometry.Scene3D(camera=None, lightRig=None, backdrop=None, extLst=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- backdrop¶
值的类型必须小于class“openpyxl.drawing.geometry.backdrop”>
- camera¶
值的类型必须小于class“openpyxl.drawing.geometry.camera”>
- extLst¶
值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>
- lightRig¶
值的类型必须小于class“openpyxl.drawing.geometry.lightrig”>
- class openpyxl.drawing.geometry.Shape3D(z=None, extrusionH=None, contourW=None, prstMaterial=None, bevelT=None, bevelB=None, extrusionClr=None, contourClr=None, extLst=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- bevelB¶
值的类型必须小于class“openpyxl.drawing.geometry.bevel”>
- bevelT¶
值的类型必须小于class“openpyxl.drawing.geometry.bevel”>
- contourClr¶
值的类型必须小于class“openpyxl.styles.colors.color”>
- contourW¶
值的类型必须小于class“int”>
- extLst¶
值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>
- extrusionClr¶
值的类型必须小于class“openpyxl.styles.colors.color”>
- extrusionH¶
值的类型必须小于class“int”>
- namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'¶
- prstMaterial¶
Value must be one of {'legacyPlastic', 'softmetal', 'powder', 'matte', 'metal', 'warmMatte', 'dkEdge', 'plastic', 'flat', 'softEdge', 'legacyMatte', 'translucentPowder', 'clear', 'legacyMetal', 'legacyWireframe'}
- z¶
值的类型必须小于class“openpyxl.descriptors.base.integer”>
- class openpyxl.drawing.geometry.ShapeStyle(lnRef=None, fillRef=None, effectRef=None, fontRef=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- effectRef¶
值的类型必须小于class“openpyxl.drawing.geometry.stylematrixreference”>
- fillRef¶
值的类型必须小于class“openpyxl.drawing.geometry.stylematrixreference”>
- fontRef¶
值的类型必须小于class“openpyxl.drawing.geometry.fontreference”>
- lnRef¶
值的类型必须小于class“openpyxl.drawing.geometry.stylematrixreference”>
- class openpyxl.drawing.geometry.SphereCoords(lat=None, lon=None, rev=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- lat¶
值的类型必须小于class“int”>
- lon¶
值的类型必须小于class“int”>
- rev¶
值的类型必须小于class“int”>
- tagname = 'sphereCoords'¶
- class openpyxl.drawing.geometry.StyleMatrixReference(idx=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- idx¶
值的类型必须小于class“int”>
- class openpyxl.drawing.geometry.Transform2D(rot=None, flipH=None, flipV=None, off=None, ext=None, chOff=None, chExt=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- chExt¶
值的类型必须小于“openpyxl.drawing.geometry.positivesize2d”>
- chOff¶
值的类型必须小于class“openpyxl.drawing.geometry.point2d”>
- ext¶
值的类型必须小于“openpyxl.drawing.geometry.positivesize2d”>
- flipH¶
值的类型必须小于class'bool'>
- flipV¶
值的类型必须小于class'bool'>
- namespace = 'http://schemas.openxmlformats.org/drawingml/2006/main'¶
- off¶
值的类型必须小于class“openpyxl.drawing.geometry.point2d”>
- rot¶
值的类型必须小于class“int”>
- tagname = 'xfrm'¶