RWESharp.Loaders.Tile.Tile

class RWESharp.Loaders.Tile.Tile(name: 'str', type: 'str', repeatl: 'list[int]', description: 'str', bfTiles: 'int', image: 'QPixmap', image2: 'QPixmap | None', image3: 'QImage | None', size: 'QSize', color: 'QColor', cols: 'list[int]', cols1: 'list[int] | None', cat: 'QPoint', tags: 'list[str]', printcols: 'bool', preview: 'QImage | None', err: 'bool', category: 'TileCategory')[source]

Bases: object

Parameters:
__init__(name: str, type: str, repeatl: list[int], description: str, bfTiles: int, image: QPixmap, image2: QPixmap | None, image3: QImage | None, size: QSize, color: QColor, cols: list[int], cols1: list[int] | None, cat: QPoint, tags: list[str], printcols: bool, preview: QImage | None, err: bool, category: TileCategory) None
Parameters:
Return type:

None

Methods

__init__(name, type, repeatl, description, ...)

collisions_image([l1color, l2color])

option_based_top_left(option)

return_tile_pixmap(option, layer, ...[, preview])

Attributes

name: str
type: str
repeatl: list[int]
description: str
bfTiles: int
image: QPixmap
image2: QPixmap | None
image3: QImage | None
size: QSize
color: QColor
cols: list[int]
cols1: list[int] | None
cat: QPoint
tags: list[str]
printcols: bool
preview: QImage | None
err: bool
category: TileCategory
property multilayer: bool
property top_left: QPoint
property area
option_based_top_left(option)[source]
collisions_image(l1color: QColor = PySide6.QtGui.QColor.fromRgbF(1.000000, 0.000000, 0.000000, 1.000000), l2color: QColor = PySide6.QtGui.QColor.fromRgbF(0.000000, 0.000000, 1.000000, 1.000000)) QPixmap[source]
Parameters:
Return type:

QPixmap

return_tile_pixmap(option: int, layer: int, layercolortable, preview=True) QPixmap[source]
Parameters:
Return type:

QPixmap