ItemAPI

class ItemAPI

ItemAPI represents an item in Scribus document. TextAPI and ScribusImageItem are inherited from this class to provide more specific attributes and methods to it. All the attributes and methods of ItemAPI are applicable to TextAPI and ImageAPI.

ItemAPI Attributes

ItemAPI.itemName
ItemAPI.fillColor
ItemAPI.lineColor
ItemAPI.fillShade
ItemAPI.lineShade
ItemAPI.fillTransparency
ItemAPI.lineTransparency
ItemAPI.locked
ItemAPI.sizeLocked
ItemAPI.flipVertical
ItemAPI.flipHorizontal
ItemAPI.lineWidth
ItemAPI.customLineStyle
ItemAPI.startArrowIndex
ItemAPI.endArrowIndex
ItemAPI.printEnabled
ItemAPI.xPos
ItemAPI.yPos
ItemAPI.width
ItemAPI.height
ItemAPI.rotation
ItemAPI.reversed
ItemAPI.cornerRadius
ItemAPI.columnGap
ItemAPI.columns

ItemAPI Methods

ItemAPI.move(dx, dy)
ItemAPI.moveAbs(x, y)
ItemAPI.rotate(rotation)
ItemAPI.rotateAbs(rotation)
ItemAPI.resize(width, height)
blog comments powered by Disqus