Movatterモバイル変換


[0]ホーム

URL:


menu
  1. Dart
  2. dart:html
  3. CssRect
  4. intersects method
intersects
description

intersects method

boolintersects(
  1. Rectangle<num>other
)

Returns true ifthis intersectsother.

Implementation

bool intersects(Rectangle<num> other) {  return (left <= other.left + other.width &&      other.left <= left + width &&      top <= other.top + other.height &&      other.top <= top + height);}
  1. Dart
  2. dart:html
  3. CssRect
  4. intersects method
CssRect class

[8]ページ先頭

©2009-2025 Movatter.jp