lib/shoes/swt/shape.rb in shoes-swt-4.0.0.pre2 vs lib/shoes/swt/shape.rb in shoes-swt-4.0.0.pre3
- old
+ new
@@ -4,11 +4,10 @@
include Common::Remove
include Common::Fill
include Common::Stroke
include Common::PainterUpdatesPosition
-
# Creates a new Shoes::Swt::Shape
#
# @param [Shoes::Shape] dsl The dsl object to provide gui for
# @param [Hash] opts Initialization options
# If this shape is part of another shape (i.e. it is not responsible
@@ -79,9 +78,10 @@
def transform
@transform ||= ::Swt::Transform.new(::Swt.display)
end
private
+
def new_java_float_array(length)
Java::float[length].new
end
def native_bounds_measurement(element, index)