Class: Java::JavafxSceneShape::Shape
- Inherits:
-
Object
- Object
- Java::JavafxSceneShape::Shape
show all
- Includes:
- JRubyFX::DSL
- Defined in:
- lib/jrubyfx/core_ext/precompiled.rb
Constant Summary
JRubyFX::DSL::NAME_TO_CLASSES
Constants included
from JRubyFX
JRubyFX::VERSION
JRubyFX::FXImports::JFX_CLASS_HIERARCHY
Instance Method Summary
collapse
compile_dsl, included, load_dsl, #logical_lookup, #method_missing, #self_test_lookup, write_color_method_converter, write_enum_converter, write_enum_method_converter
Methods included from JRubyFX
#build, included, #run_later, #with
#attempt_conversion, #populate_properties, #split_args_from_properties
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
in the class JRubyFX::DSL
Instance Method Details
#fill(*r) ⇒ Object
303
304
305
306
307
308
309
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 303
def fill(*r)
if r.length > 0
self.fill = r[0]
else
get_fill
end
end
|
#fill=(value) ⇒ Object
300
301
302
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 300
def fill=(value)
setFill(JRubyFX::Utils::CommonConverters::CONVERTERS[:color].call(value))
end
|
#stroke=(value) ⇒ Object
297
298
299
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 297
def stroke=(value)
setStroke(JRubyFX::Utils::CommonConverters::CONVERTERS[:color].call(value))
end
|
#stroke_line_cap=(rbenum) ⇒ Object
291
292
293
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 291
def stroke_line_cap=(rbenum)
java_send "setStrokeLineCap", [Java::JavafxSceneShape::StrokeLineCap], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxSceneShape::StrokeLineCap)
end
|
#stroke_line_join=(rbenum) ⇒ Object
288
289
290
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 288
def stroke_line_join=(rbenum)
java_send "setStrokeLineJoin", [Java::JavafxSceneShape::StrokeLineJoin], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxSceneShape::StrokeLineJoin)
end
|
#stroke_type=(rbenum) ⇒ Object
294
295
296
|
# File 'lib/jrubyfx/core_ext/precompiled.rb', line 294
def stroke_type=(rbenum)
java_send "setStrokeType", [Java::JavafxSceneShape::StrokeType], JRubyFX::Utils::CommonConverters.parse_ruby_symbols(rbenum, Java::JavafxSceneShape::StrokeType)
end
|