This commit is contained in:
恍兮惚兮 2024-06-22 01:07:45 +08:00
parent da45254a81
commit 8a68205f98

View File

@ -13,20 +13,6 @@ class QGraphicsDropShadowEffect_multi(QGraphicsDropShadowEffect):
class TextLine(TextLabel_0): class TextLine(TextLabel_0):
def moveoffset(self):
font = self.font()
fontOutLineWidth = (
font.pointSizeF() * self.config["shadowR"] + self.config["shadowR_ex"]
)
return fontOutLineWidth, fontOutLineWidth
def extraWH(self):
font = self.font()
fontOutLineWidth = (
font.pointSizeF() * self.config["shadowR"] + self.config["shadowR_ex"]
)
fontOutLineWidth *= 2
return fontOutLineWidth, fontOutLineWidth
def usingcolor(self): def usingcolor(self):
return QColor(self.config["fillcolor"]) return QColor(self.config["fillcolor"])