国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

??
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)

???

??? ??

?? ????
1784
16
Cakephp ????
1729
56
??? ????
1580
28
PHP ????
1445
31
???
2025 Stablecoin Investment Tutorior ??? Stablecoin ???? ???? ?? 2025 Stablecoin Investment Tutorior ??? Stablecoin ???? ???? ?? Jul 07, 2025 pm 09:09 PM

??? ???? ???? ??? ??? Stablecoin ???? ??? ?????? ? ??? 2025 ? Binance, OKX, Bybit, Gate.io, HTX, HTX, Kucoin, MEXC, Bitget, Coinex ? Provit? ???? 10 ? ?aboneoin ???? ???? ??, ??? ?? ??, ???, ??? ??, ??? ?? ? ?? ??? ?? ???? ?? ? ????? ?????. ???? Coingecko, Defillama ? Community Evaluation?? ?????. ???? ? ?? (Kucoin)? ?? ?? (Coinex)? ?? ???? ?? ???? ???? ?? ???? ???? ???? ?? ????.

?? ???? ?? ??? ???? ??? ?????? ?? ??? ?????? ?? ?? ?? ?? ?? ???? ?? ??? ???? ??? ?????? ?? ??? ?????? ?? ?? ?? ?? Jul 07, 2025 pm 10:12 PM

cryptocurrency ??? ?? ??? ????? ???? ???? ??? ? ????? ??? ?? ?? ??? ???? ??? ???? ?????. ??? ???? ???? ???? ??? ???? ??? ? ?? ???? ????? ????? ???? ????? ??? ???? ??? ???? ???? ?????. ???? ?? Airdrops? ?? ???? ???? ??? ?? ??? ??? ???? ?? ???? ??? ????? ???? ???? ?? ? ?????.

?? ??? ??? ?? ??? ??? ??? ?????? Top3 Stablecoin ??? ????? ?? ??? ??? ?? ??? ??? ??? ?????? Top3 Stablecoin ??? ????? Jul 08, 2025 pm 07:27 PM

cryptocurrency ???? ???? ??? ???? ?? ??? ?? ???? ??? ?? ????? ????. ? ??? ?? ?? ???? ??? ????? ???? ??? ??? ?? ??????. ?? ?? ?? ? Stablecoin? ??? ??? ???? ???? ?? ??? ?? ? ??? ???? Top3 Stablecoin ??? ?????. ? ??? ???? ?? ???? ??? ? ? ???? ?? ?? ??? ?? ??? stablecoin? ???? ???? ??? ?????.

??? ??? ?? ? ?? ?? PK! ? ???? ?? ???? ?????? ??? ??? ?? ? ?? ?? PK! ? ???? ?? ???? ?????? Jul 08, 2025 pm 07:24 PM

? ??? ??? ?? ??? ?? ?? ?? ???? ?? ???? (BEAR Market)?? "?? ??"? ?? ?? ??? ?? ??? ?? ?? ?????. ??? ?? ??, ?? ????, ??? ? ???? ???? ??? ????? ???? ? ???? ??? ???? ?? ?? ??? ???? ???? ??? ?? ??? ?? ????? ?? ? ????.

?? ??? ??? ???????. ? ??? ???? ??? ??? ??? ????? ?? ????? ? ?? ???? ?????? ?? ?? ????? ??????! ?? ??? ??? ???????. ? ??? ???? ??? ??? ??? ????? ?? ????? ? ?? ???? ?????? ?? ?? ????? ??????! Jul 09, 2025 pm 08:30 PM

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

cryptocurrencies? ?? ?? ??? ?????? 2025 ? Cryptocurrency ?? ?? ??? ?? 10 ? ?? cryptocurrencies? ?? ?? ??? ?????? 2025 ? Cryptocurrency ?? ?? ??? ?? 10 ? ?? Jul 10, 2025 pm 08:21 PM

?? ?? ??? ??? "??? ??, ?? ?? ?, ? ?? ?? ??"? ??? ?????. ?? ??? ??? ???? ?? ??? ??? ??? Solana, Avalanche ? ?? ???? ??? ???? ????. ??, ?? ???? ??? ? Polkadot, Cosmos? ??? ??? ? ChainLink? ???? ?? ??? ?? ??? ?????. ???? ???? ?? ?? ???? ???? ?? ? ?? ?? ??? ???? ?? ??? ?? ??, ??, ?? ? ?? ?? ??? ?? ??? ?????.

?? ??? '??? ???'? ?? ?? ?? ?? ?? ?? ??? '??? ???'? ?? ?? ?? ?? ?? Jul 08, 2025 pm 07:30 PM

? ??? ?? ?? ??? ?? ?? ???? ??? ? ?? ??? ?? ?? ???? ???? ??? ??? ???? ??? ?? ?? ???? ???? ????? ??? ??? ???? ???? ??? ?? ?? ????? "Havard-Haven"??? ???? ??? ??? ? ??????.

?? ??? ??? ???? ??? Dogecoin? ???? ???? Ethereum? ???? ?? ?? ????. ?? ??? ??? ???? ??? Dogecoin? ???? ???? Ethereum? ???? ?? ?? ????. Jul 09, 2025 pm 08:24 PM

?? Bitcoin? ??? ??? ??? Dogecoin? ??? ???? ???? ??? ??????. ????, ??? ?? ??? ??? ??? ???? Ethereum? ??? ?? ? ??? ??? ??? ??? ??? ????.

See all articles