亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

??
konva.js? ?? ??? ???? ?? ?? redo ?? ??
? ? ????? JS ???? UNDO ? REDO ??? ???? ?? Konva.js?? ?? ??? ?? ???? ???? ??? ??????

UNDO ? REDO ??? ???? ?? Konva.js?? ?? ??? ?? ???? ???? ??? ??????

Apr 04, 2025 pm 04:30 PM
ai red

UNDO ? REDO ??? ???? ?? Konva.js?? ?? ??? ?? ???? ???? ??? ??????

konva.js? ?? ??? ???? ?? ?? redo ?? ??

? ????? ?? ??? ???? UNDO (Ctrl Z) ? redo (Ctrl y) ??? Konva.js ??? ?? ?????? ???? ??? ?????. ??? ??? ?? ??? ????? ?? ??? ???? ??? ??? ???? ??? ??? ?? ? ?? ??? ?????.

?? ?? Command ???? ??????.

 ??? ?? {
  ??? () {
    this.states = []; // ?? ?? ?? ???? ? ??}

  ????() {
    ? ??? ????? ( '?? ??? ????? ?');
  }

  undo () {
    ? ??? ????? ( '?? ?? ??? ???? ?');
  }

  ?? (?) {
    this.states.push (state);
  }

  Restorestate () {
    this.states.pop () ||? ?????? ?; // ?? ?? ?? NULL? ?????
  }
}

????, ???? ??? ??? ?? ?? ?? ???? ????.

 Class DrawRectAngleCommand ?? ?? {
  ??? (????, ???, ??) {
    ???();
    this.stage = ??;
    this.layer = ???;
    this.rect = rect;
  }

  ????() {
    this.savestate (this.layer.tojson ()); // ?? ??? ??? ?? this.layer.add (this.rect);
    this.layer.draw ();
  }

  undo () {
    this.rect.destroy ();
    const prevstate = this.restorestate ();
    if (prevstate) {
      this.layer.destroychildren (); // ???? ????? .layer = konva.node.create (prevstate, this.stage); // ?? ??? ?? this.stage.add (this.layer);
      this.layer.draw ();
    }
  }
}

?? ?? ?? ???? ??????.

 ??? CommandManager {
  ??? () {
    this.undostack = [];
    this.redostack = [];
  }

  executeCommand (??) {
    command.execute ();
    this.undostack.push (??);
    this.redostack = []; // ? ??? ?? ? ? Redo Stack? ?????}

  undo () {
    if (this.undostack.length === 0) ??;
    const command = this.undostack.pop ();
    command.undo ();
    this.redostack.push (??);
  }

  redo () {
    if (this.redostack.length === 0) ??;
    const command = this.redostack.pop ();
    command.execute ();
    this.undostack.push (??);
  }
}

????? Konva.js ?? ?????? ??????.

 Const Stage = New Konva.Stage ({{
  ???? : '????',
  ?? : Window.InnerWidth,
  ?? : Window.innerHeight
});

const layer = new Konva.layer ();
stage.add (???);

const CommandManager = new CommandManager ();

stage.on ( 'click', (e) => {
  const rect = new konva.rect ({
    X : e.evt.layerx,
    Y : e.evt.layery,
    ?? : 50,
    ?? : 50,
    ??? : '???',
    Draggable : True
  });

  const command = new DrawRectAngleCommand (Stage, Layer, rect);
  CommandManager.ExecuteCommand (??);
});

document.addeventListener ( 'keydown', (e) => {
  if (e.ctrlkey && e.key === 'z') {
    CommandManager.undo ();
  } else if (e.ctrlkey && e.key === 'y') {
    CommandManager.redo ();
  }
});

? ??? ??? ??? ??? ?? ??? ?????. ??, ????, ?? ?? ?? ?? ??? ??? ???? ?? Command ???? ?? ? ? ????. ? ??? execute ???? ?? ??? ???? undo ???? ?? ??? ???????. ????? ?? ?? ?? ??? ???? ?????.

? ??? UNDO ? REDO ??? ???? ?? Konva.js?? ?? ??? ?? ???? ???? ??? ??????? ?? ?????. ??? ??? PHP ??? ????? ?? ?? ??? ?????!

? ????? ??
? ?? ??? ????? ???? ??? ??????, ???? ?????? ????. ? ???? ?? ???? ?? ??? ?? ????. ???? ??? ???? ???? ??? ?? admin@php.cn?? ?????.

? AI ??

Undresser.AI Undress

Undresser.AI Undress

???? ?? ??? ??? ?? AI ?? ?

AI Clothes Remover

AI Clothes Remover

???? ?? ???? ??? AI ?????.

Video Face Swap

Video Face Swap

??? ??? AI ?? ?? ??? ???? ?? ???? ??? ?? ????!

???

??? ??

???++7.3.1

???++7.3.1

???? ?? ?? ?? ???

SublimeText3 ??? ??

SublimeText3 ??? ??

??? ??, ???? ?? ????.

???? 13.0.1 ???

???? 13.0.1 ???

??? PHP ?? ?? ??

???? CS6

???? CS6

??? ? ?? ??

SublimeText3 Mac ??

SublimeText3 Mac ??

? ??? ?? ?? ?????(SublimeText3)

???

??? ??

??? ????
1597
29
PHP ????
1488
72
NYT ?? ??? ??
131
836
???
PHP? ???? ?? ?? ??? ???? ?? PHP ?? ????? ?? ?? PHP? ???? ?? ?? ??? ???? ?? PHP ?? ????? ?? ?? Jul 25, 2025 pm 08:51 PM

PHP?? ?? ?? ??? ???? ?? ??? ? ???? ?? ??? ???? ?? ??? ???? ???? ????. 1. ?? ?? ??? ?? ??? URL ? ?? ??? ????. 2. UrlenCode? ???? ?? ??? ???????. 3. ? ???? ????? ?? ?? ??? ? ?? ??? ?????. 4. ???? ???? ?? ? ? ??? ??? ??? ??? ?????. 5. ??? ?? ??? ????? ?? ????? OG ??? ???? ?????. 6. XSS ??? ???? ?? ??? ??? ?????. ? ???? ??? ??? ???? ??? ?? ?? ??? ??? ???? ??? ?? ??? ?????.

PHP? ???? AI? ???? ??? ?? ?? PHP ?? ?? ? ???? ?????. PHP? ???? AI? ???? ??? ?? ?? PHP ?? ?? ? ???? ?????. Jul 25, 2025 pm 08:57 PM

AI? ??? ??? ?? ?? ? ?? ???? ????? ?? ??? ??????. 1. Baidu, Tencent API ?? ?? ?? NLP ?????? ?? ??? AI ?? ?? API? ??????. 2. PHP? ? ?? guzzle? ?? API? ???? ?? ??? ??????. 3. ?? ????? ?? ?? ??? ???? ???? ???? ??? ??? ? ????. 4. ?? ?? ? ?? ???? ?? PHP-L ? PHP_CODESNIFFER? ??????. 5. ???? ????? ???? ?? ?? ??? ?????? ??? ??????. AIAPI? ??? ? ???, ?? ??, ?? ? PHP ?? ??? ??? ???. ?? ???? PSR ??? ???, ??? ????? ????, ?? ??? ???, ????? ??? ????, X? ???????.

PHP? AI ??? ?? ?? PHP ?? ?? ?? ??? ??? ?????. PHP? AI ??? ?? ?? PHP ?? ?? ?? ??? ??? ?????. Jul 25, 2025 pm 08:45 PM

??? ?? ??? ??? ?? JavaScript? MediareCorder API? ?? PHP ???? ???? ?????. 2. PHP? ???? ?? ??? ???? STTAPI (? : Google ?? Baidu ?? ??)? ???? ???? ?????. 3. PHP? ???? AI ??? (? : OpenAigpt)? ????. 4. ?? ?? PHP? TTSAPI (? : Baidu ?? Google ?? ??)? ???? ??? ?? ??? ?????. 5. PHP? ?? ??? ??? ??? ??? ?? ?? ??? ?????. ?? ????? PHP? ?? ???? ?? ?? ?? ??? ??? ?????.

PHP? ?? ?? ?? ? ?? ?? PHP ?? ??? ? ?? ????? ?? PHP? ?? ?? ?? ? ?? ?? PHP ?? ??? ? ?? ????? ?? Jul 25, 2025 pm 08:30 PM

PHP? ?????? ????? ?? ?? ?? ???? ???? ?? ???? ???? ?? ?? ???? ?????. 2. ?? ??? ???? ???? ?? ??? ?? ? ??? ??? ???? ?? API/Webhook ??? ??? ?? ???? ??? ??? ??? ??? ?????. 3. ?? ????? ?? ??, ??/???? ????, ???? ??, ???? ? ??? ?????? ????? ?? ??? ???? ???? ?? Dingtalk, SMS ?? ??? ???? ??? ?????? ???? ?? ? ??? ??? ????? ?? ??? ???? ???????.

PHP? ???? AI? ???? ?? ?? ?? PHP? ??? ?? ???? ??????. PHP? ???? AI? ???? ?? ?? ?? PHP? ??? ?? ???? ??????. Jul 25, 2025 pm 08:18 PM

AI ?? API? ??? ? ???, ??, ?? ?? ? ?? ???? ??? ???????. 2. PHP? Guzzle? ???? ??? ??? ??? JSON_DECODE? ???? ?? ? JSON ???? ???? ?? ? ?? ?? ?????? ?????. 3. AI ???? ????? ????? ?? ????? ??? ? ??? ??? ???????. 4. ??, ??? ? ? ?? ?? ??? ???? ???? ?? ?? ??? ??? ?? ??? ??? ? ? ????.

???? ?? ???? Cryptocurrency ?? ? ??? (2025 ? ?? ??) ???? ?? ???? Cryptocurrency ?? ? ??? (2025 ? ?? ??) Jul 29, 2025 pm 12:48 PM

2025 ? ?? 10 ? ???? ?? ?? ?? ? ??? ?? ???? ??? ????. 1. CoinmarketCap, ??? ? ?? ?? ?? ? ?? ?? ???? ?????. 2. Coingecko, ??? ? ?? ??? ??? ???? ?? ??; 3. ?? ???? K ?? ?? ? ?? ?? ??? ??? TradingView; 4. Binance Market, ?? ???? ??? ???? ?? ? ???? ?????. 5. OUYI ??, ?? ?? ? ?? ??? ?? ?? ?? ??? ?????. 6. ?? ?? ? ??? ?? ???? ?? ?? ???? ??? ? Glassnode; 7. Messari, ?? ??? ?? ??? ? ??? ??? ? ??? ??; 8. cryptocompa

Twilio ?? ?? ? ?? : ??? ? ?? ?? ????? ?? ?? Twilio ?? ?? ? ?? : ??? ? ?? ?? ????? ?? ?? Jul 25, 2025 pm 08:42 PM

? ??? Twilio? Call Hold and Unhold? ???? ? ?? ?? ??? ??? ?????. ???? ??? Twilio? ???? ??? ???? ?? ??? ???? ?????? ?? ?? ? ??? ?? ????? ?? ??? ??? ???? ????. ? ?? ???? ? ??? TWIML ??? ???? ?? ? ??? ??? ?? ?? ??? ??? ????. ? ??? ???? Twilio ?? ??? ????? ??? ? ??? ?? ?? ?? ? ?? ??? ?????.

???? ??? ? ?? ?? ??? ?????. ???? ??? ? ?? ?? ??? ?????. Jul 25, 2025 pm 07:39 PM

? ??? PHP?? ??? ??? ? ?? ?? ??? ???? Array_Column () ??? ?? ?? ??? ???? ?? ??????. ?? ??? PHP ? ??? ??? PHP? ?? ?? ?? ???? ???? ?? ??? ???? ???? ? ?? ???? ??? ???? ?? ? ??? ?????.

See all articles