提交的内容

This commit is contained in:
2025-05-12 15:45:02 +08:00
parent 629c4750da
commit b48c692775
3043 changed files with 34732 additions and 60810 deletions

View File

@ -16,6 +16,7 @@ class TextWatermarkTemplate extends ImageTemplate
private $dx;
private $dy;
private $batch;
private $spacing;
private $degree;
private $shadow;
private $scatype;
@ -32,6 +33,7 @@ class TextWatermarkTemplate extends ImageTemplate
$this->dx = "";
$this->dy = "";
$this->batch = "";
$this->spacing = "";
$this->degree = "";
$this->shadow = "";
$this->scatype = "";
@ -74,6 +76,10 @@ class TextWatermarkTemplate extends ImageTemplate
$this->batch = "/batch/" . $value;
}
public function setSpacing($value) {
$this->spacing = "/spacing/" . $value;
}
public function setDegree($value) {
$this->degree = "/degree/" . $value;
}
@ -126,6 +132,10 @@ class TextWatermarkTemplate extends ImageTemplate
return $this->batch;
}
public function getSpacing() {
return $this->spacing;
}
public function getDegree() {
return $this->degree;
}
@ -172,6 +182,9 @@ class TextWatermarkTemplate extends ImageTemplate
if($this->batch) {
$res .= $this->batch;
}
if($this->spacing) {
$res .= $this->spacing;
}
if($this->degree) {
$res .= $this->degree;
}
@ -200,6 +213,7 @@ class TextWatermarkTemplate extends ImageTemplate
$this->dx = "";
$this->dy = "";
$this->batch = "";
$this->spacing = "";
$this->degree = "";
$this->shadow = "";
$this->scatype = "";